Skip to content

Commit e6f4480

Browse files
committed
redo fundraiser blog to use markdown for content easier
1 parent 38ffecf commit e6f4480

File tree

4 files changed

+82
-90
lines changed

4 files changed

+82
-90
lines changed

11ty-source/_layouts/fundraiser-layout.liquid

+45-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,50 @@ layout: default.liquid
66

77
<h1 class="title">{{ title }}</h1>
88

9-
{{ content }}
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>
1054

1155
</div>

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.liquid

-80
This file was deleted.

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).

0 commit comments

Comments
 (0)