Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fundraiser blog ported to 11ty #242

Merged
merged 3 commits into from
Feb 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"files.associations": {
"*.eco": "html"
},
"[liquid]": {
"editor.formatOnSave": true
}
}
File renamed without changes.
55 changes: 55 additions & 0 deletions 11ty-source/_layouts/fundraiser-layout.liquid
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
---
layout: default.liquid
---

<div class="col-md-12">

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

<div class="container">

<div class="fundraiser-header">

<div class="fundraiser-header-container">
<div class="success-header">
<div class="success-text">
<img
width="128"
height="130"
src="/images/flixel-logos/haxeflixel-medal.gif" />
<span>
<h2>Campaign success</h2>
<p>
The Indiegogo campaign of 2016 was a huge
<a href="https://www.indiegogo.com/projects/haxeflixel-games-software#/">success</a>!
</p>
</span>
</div>

<hr>
<br>
{{ content }}

</div>
</div>

</div>

<h3 class="thankyou-backers">We thank all our Indiegogo backers:</h3>
<ul class="backer-list">

{%- for backer in backers -%}
<li class="backer">
<h4>{{ backer.name }}</h4>
<img
src="{{ backer.imgSrc }}"
width="40"
height="40" />
<span class="backer-amount">{{ backer.amount }}</span>
</li>
{%- endfor -%}
</ul>

</div>

</div>
3 changes: 2 additions & 1 deletion 11ty-source/_layouts/partials/header-menu.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@
</li>

</ul>


{% renderFile "./11ty-source/_layouts/partials/search.html" %}
{% comment %} <%- @partial('search.html') %> {% endcomment %}

</div>
Expand Down
6 changes: 6 additions & 0 deletions 11ty-source/_layouts/partials/search.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<form class="navbar-form search-form" role="search" action="https://google.com/search" method="get">
<div class="form-group">
<input type="search" name="q" class="form-control" placeholder="Search">
<input type="hidden" name="q" value="site:http://haxeflixel.com">
</div>
</form>
21 changes: 12 additions & 9 deletions 11ty-source/blog.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,23 @@ layout: blog-layout
---

<div class="container">
<div class="row">
<div class="row">

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

<a href="{{blog.url}}" property="dc:title">
<h3>{{ blog.data.title }}</h3>
</a>
<div class="post-date post-date-preview">{{ blog.data.postDate }}</div>
<p> {{blog.content | strip_html |truncate: 150}}<a href="{{blog.url}}"> read more</a></p>
{% comment %} <p><%- blog.contentPreview %> <a href="<%= blog.url %>"> read more</a></p> {% endcomment %}
<a href="{{blog.url}}" property="dc:title">
<h3>{{ blog.data.title }}</h3>
</a>
<div class="post-date post-date-preview">{{ blog.data.postDate }}</div>
<p>
{{ blog.content | strip_html | truncate: 150 }}<a href="{{blog.url}}">
read more</a>
</p>
{% comment %} <p><%- blog.contentPreview %> <a href="<%= blog.url %>"> read more</a></p> {% endcomment %}

<hr>
<hr>

{%- endfor -%}

</div>
</div>
</div>
25 changes: 25 additions & 0 deletions 11ty-source/blog/05-fundraiser.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
title: "Fundraiser 2016"
layout: "fundraiser-layout"
postDate: "August 27, 2016"
---

HaxeFlixel is developed by and is now furtherly *funded* by, a community of
people who have a geniune passion for the project.


We thank everyone for their contributions over the past 5 years,
whether it has been spreading the word, fundraising, admin, testing,
reviewing & submitting code or teaching and supporting others.
All this keeps inspiring the community to continue HaxeFlixel to help
make cross platform games easier and free!

Also, none of this fundraiser would have even started without the dedicated effort from
Lars Doucet of [Level Up Labs](https://www.leveluplabs.com/)
leading this entire campaign, so a big thanks to Lars!

With the larger donations made in the campaign, it has also made it possible for HaxeFlixel to have
*official sponsors*! After we gather all the logos for the page, we will add a dedicated sponsors page.

Read more about the campaign on
[our Indiegogo page](https://www.indiegogo.com/projects/haxeflixel-games-software).
1 change: 0 additions & 1 deletion content/documentation/flixel-docs
Submodule flixel-docs deleted from 8258c4
76 changes: 0 additions & 76 deletions src/documents/blog/05-fundraiser.html.eco

This file was deleted.

24 changes: 0 additions & 24 deletions src/layouts/downloads.html.eco

This file was deleted.

7 changes: 0 additions & 7 deletions src/layouts/forum-layout.html.eco

This file was deleted.

28 changes: 0 additions & 28 deletions src/layouts/fundraiser-layout.html.eco

This file was deleted.

Loading