Skip to content

Commit 3dbb575

Browse files
Merge pull request #242 from HaxeFlixel/fundraiser-blog
Fundraiser blog ported to 11ty
2 parents aa55e60 + e6f4480 commit 3dbb575

12 files changed

+103
-146
lines changed

.vscode/settings.json

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
{
22
"files.associations": {
33
"*.eco": "html"
4+
},
5+
"[liquid]": {
6+
"editor.formatOnSave": true
47
}
58
}
File renamed without changes.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
---
2+
layout: default.liquid
3+
---
4+
5+
<div class="col-md-12">
6+
7+
<h1 class="title">{{ title }}</h1>
8+
9+
<div class="container">
10+
11+
<div class="fundraiser-header">
12+
13+
<div class="fundraiser-header-container">
14+
<div class="success-header">
15+
<div class="success-text">
16+
<img
17+
width="128"
18+
height="130"
19+
src="/images/flixel-logos/haxeflixel-medal.gif" />
20+
<span>
21+
<h2>Campaign success</h2>
22+
<p>
23+
The Indiegogo campaign of 2016 was a huge
24+
<a href="https://www.indiegogo.com/projects/haxeflixel-games-software#/">success</a>!
25+
</p>
26+
</span>
27+
</div>
28+
29+
<hr>
30+
<br>
31+
{{ content }}
32+
33+
</div>
34+
</div>
35+
36+
</div>
37+
38+
<h3 class="thankyou-backers">We thank all our Indiegogo backers:</h3>
39+
<ul class="backer-list">
40+
41+
{%- for backer in backers -%}
42+
<li class="backer">
43+
<h4>{{ backer.name }}</h4>
44+
<img
45+
src="{{ backer.imgSrc }}"
46+
width="40"
47+
height="40" />
48+
<span class="backer-amount">{{ backer.amount }}</span>
49+
</li>
50+
{%- endfor -%}
51+
</ul>
52+
53+
</div>
54+
55+
</div>

11ty-source/_layouts/partials/header-menu.liquid

+2-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@
4949
</li>
5050

5151
</ul>
52-
52+
53+
{% renderFile "./11ty-source/_layouts/partials/search.html" %}
5354
{% comment %} <%- @partial('search.html') %> {% endcomment %}
5455

5556
</div>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<form class="navbar-form search-form" role="search" action="https://google.com/search" method="get">
2+
<div class="form-group">
3+
<input type="search" name="q" class="form-control" placeholder="Search">
4+
<input type="hidden" name="q" value="site:http://haxeflixel.com">
5+
</div>
6+
</form>

11ty-source/blog.liquid

+12-9
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,23 @@ layout: blog-layout
44
---
55

66
<div class="container">
7-
<div class="row">
7+
<div class="row">
88

99
{%- for blog in collections.blogpost reversed -%}
1010

11-
<a href="{{blog.url}}" property="dc:title">
12-
<h3>{{ blog.data.title }}</h3>
13-
</a>
14-
<div class="post-date post-date-preview">{{ blog.data.postDate }}</div>
15-
<p> {{blog.content | strip_html |truncate: 150}}<a href="{{blog.url}}"> read more</a></p>
16-
{% comment %} <p><%- blog.contentPreview %> <a href="<%= blog.url %>"> read more</a></p> {% endcomment %}
11+
<a href="{{blog.url}}" property="dc:title">
12+
<h3>{{ blog.data.title }}</h3>
13+
</a>
14+
<div class="post-date post-date-preview">{{ blog.data.postDate }}</div>
15+
<p>
16+
{{ blog.content | strip_html | truncate: 150 }}<a href="{{blog.url}}">
17+
read more</a>
18+
</p>
19+
{% comment %} <p><%- blog.contentPreview %> <a href="<%= blog.url %>"> read more</a></p> {% endcomment %}
1720

18-
<hr>
21+
<hr>
1922

2023
{%- endfor -%}
2124

22-
</div>
25+
</div>
2326
</div>

11ty-source/blog/05-fundraiser.md

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
title: "Fundraiser 2016"
3+
layout: "fundraiser-layout"
4+
postDate: "August 27, 2016"
5+
---
6+
7+
HaxeFlixel is developed by and is now furtherly *funded* by, a community of
8+
people who have a geniune passion for the project.
9+
10+
11+
We thank everyone for their contributions over the past 5 years,
12+
whether it has been spreading the word, fundraising, admin, testing,
13+
reviewing & submitting code or teaching and supporting others.
14+
All this keeps inspiring the community to continue HaxeFlixel to help
15+
make cross platform games easier and free!
16+
17+
Also, none of this fundraiser would have even started without the dedicated effort from
18+
Lars Doucet of [Level Up Labs](https://www.leveluplabs.com/)
19+
leading this entire campaign, so a big thanks to Lars!
20+
21+
With the larger donations made in the campaign, it has also made it possible for HaxeFlixel to have
22+
*official sponsors*! After we gather all the logos for the page, we will add a dedicated sponsors page.
23+
24+
Read more about the campaign on
25+
[our Indiegogo page](https://www.indiegogo.com/projects/haxeflixel-games-software).

content/documentation/flixel-docs

-1
This file was deleted.

src/documents/blog/05-fundraiser.html.eco

-76
This file was deleted.

src/layouts/downloads.html.eco

-24
This file was deleted.

src/layouts/forum-layout.html.eco

-7
This file was deleted.

src/layouts/fundraiser-layout.html.eco

-28
This file was deleted.

0 commit comments

Comments
 (0)