From 699e4fecb7a31f42e30c8a845eb411c299d075a1 Mon Sep 17 00:00:00 2001 From: Cameron Date: Tue, 27 Feb 2024 15:57:14 -0500 Subject: [PATCH 1/3] search + cleanup --- .../_layouts/partials/header-menu.liquid | 3 ++- 11ty-source/_layouts/partials/search.html | 6 +++++ 11ty-source/documentation/flixel-docs | 1 + src/layouts/downloads.html.eco | 24 ------------------- src/layouts/forum-layout.html.eco | 7 ------ 5 files changed, 9 insertions(+), 32 deletions(-) create mode 100644 11ty-source/_layouts/partials/search.html create mode 160000 11ty-source/documentation/flixel-docs delete mode 100644 src/layouts/downloads.html.eco delete mode 100644 src/layouts/forum-layout.html.eco diff --git a/11ty-source/_layouts/partials/header-menu.liquid b/11ty-source/_layouts/partials/header-menu.liquid index 5ae336e78..6b5882284 100644 --- a/11ty-source/_layouts/partials/header-menu.liquid +++ b/11ty-source/_layouts/partials/header-menu.liquid @@ -49,7 +49,8 @@ - + + {% renderFile "./11ty-source/_layouts/partials/search.html" %} {% comment %} <%- @partial('search.html') %> {% endcomment %} diff --git a/11ty-source/_layouts/partials/search.html b/11ty-source/_layouts/partials/search.html new file mode 100644 index 000000000..fc066e678 --- /dev/null +++ b/11ty-source/_layouts/partials/search.html @@ -0,0 +1,6 @@ + \ No newline at end of file diff --git a/11ty-source/documentation/flixel-docs b/11ty-source/documentation/flixel-docs new file mode 160000 index 000000000..eafb15487 --- /dev/null +++ b/11ty-source/documentation/flixel-docs @@ -0,0 +1 @@ +Subproject commit eafb154876cf013f5e1eec06104c6c253f80db86 diff --git a/src/layouts/downloads.html.eco b/src/layouts/downloads.html.eco deleted file mode 100644 index f7f3b8ffd..000000000 --- a/src/layouts/downloads.html.eco +++ /dev/null @@ -1,24 +0,0 @@ - - - -<%- @partial('head.html.eco', {title:@getPreparedTitle()}, {description:@getPreparedDescription()}, {keywords:@getPreparedKeywords()}, {author:@site.author or ''}, {styles:@getBlock("styles").add(["/styles/style.css", "/vendor/highlightjs/styles/an-old-hope.min.css"]).toHTML()} ) %> - - - -<%- @partial('header-menu.html.eco') %> - -
-
-

<%= @document.title %>

- - <%- @content %> -
-
- -<%-@partial('footer.html')%> - -<%- @getBlock('scripts').add(@site.scripts).toHTML() %> - - - - diff --git a/src/layouts/forum-layout.html.eco b/src/layouts/forum-layout.html.eco deleted file mode 100644 index 518be088b..000000000 --- a/src/layouts/forum-layout.html.eco +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file From 38ffecfcd0640aedceebd19b04ef1aa3a49b071e Mon Sep 17 00:00:00 2001 From: Cameron Date: Tue, 27 Feb 2024 16:28:34 -0500 Subject: [PATCH 2/3] added fundraiser blog post --- .vscode/settings.json | 3 + {src/files => 11ty-source/_data}/backers.json | 0 11ty-source/_layouts/fundraiser-layout.liquid | 11 +++ 11ty-source/blog/05-fundraiser.liquid | 80 +++++++++++++++++++ 11ty-source/documentation/flixel-docs | 1 - content/documentation/flixel-docs | 1 - src/documents/blog/05-fundraiser.html.eco | 76 ------------------ src/layouts/fundraiser-layout.html.eco | 28 ------- 8 files changed, 94 insertions(+), 106 deletions(-) rename {src/files => 11ty-source/_data}/backers.json (100%) create mode 100644 11ty-source/_layouts/fundraiser-layout.liquid create mode 100644 11ty-source/blog/05-fundraiser.liquid delete mode 160000 11ty-source/documentation/flixel-docs delete mode 160000 content/documentation/flixel-docs delete mode 100644 src/documents/blog/05-fundraiser.html.eco delete mode 100644 src/layouts/fundraiser-layout.html.eco diff --git a/.vscode/settings.json b/.vscode/settings.json index 84e6b3c4a..db60aff6f 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,5 +1,8 @@ { "files.associations": { "*.eco": "html" + }, + "[liquid]": { + "editor.formatOnSave": true } } \ No newline at end of file diff --git a/src/files/backers.json b/11ty-source/_data/backers.json similarity index 100% rename from src/files/backers.json rename to 11ty-source/_data/backers.json diff --git a/11ty-source/_layouts/fundraiser-layout.liquid b/11ty-source/_layouts/fundraiser-layout.liquid new file mode 100644 index 000000000..b9816ae80 --- /dev/null +++ b/11ty-source/_layouts/fundraiser-layout.liquid @@ -0,0 +1,11 @@ +--- +layout: default.liquid +--- + +
+ +

{{ title }}

+ + {{ content }} + +
\ No newline at end of file diff --git a/11ty-source/blog/05-fundraiser.liquid b/11ty-source/blog/05-fundraiser.liquid new file mode 100644 index 000000000..9eb140be3 --- /dev/null +++ b/11ty-source/blog/05-fundraiser.liquid @@ -0,0 +1,80 @@ +--- +title: "Fundraiser 2016" +layout: "fundraiser-layout" +postDate: "August 27, 2016" +--- + +
+ +
+ +
+
+
+ + +

Campaign success

+

+ The Indiegogo campaign of 2016 was a huge + success! +

+
+
+ +
+
+ +

+ 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, 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. +

+
+
+ +
+ +

We thank all our Indiegogo backers:

+
    + + {%- for backer in backers -%} +
  • +

    {{ backer.name }}

    + + {{ backer.amount }} +
  • + {%- endfor -%} +
+ +
\ No newline at end of file diff --git a/11ty-source/documentation/flixel-docs b/11ty-source/documentation/flixel-docs deleted file mode 160000 index eafb15487..000000000 --- a/11ty-source/documentation/flixel-docs +++ /dev/null @@ -1 +0,0 @@ -Subproject commit eafb154876cf013f5e1eec06104c6c253f80db86 diff --git a/content/documentation/flixel-docs b/content/documentation/flixel-docs deleted file mode 160000 index 8258c4aea..000000000 --- a/content/documentation/flixel-docs +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 8258c4aea5d06994761fbbd15432878fdb623c39 diff --git a/src/documents/blog/05-fundraiser.html.eco b/src/documents/blog/05-fundraiser.html.eco deleted file mode 100644 index 692cf0720..000000000 --- a/src/documents/blog/05-fundraiser.html.eco +++ /dev/null @@ -1,76 +0,0 @@ ---- -title: "Fundraiser 2016" -layout: "fundraiser-layout" -postDate: "August 27, 2016" ---- - -
- -
- -
-
-
- - -

Campaign success

-

- The Indiegogo campaign of 2016 was a huge - success! -

-
-
- -
-
- -

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

-
-
- - -
- -

We thank all our Indiegogo backers:

- -
    - -<% for backer in @getBackers(): %> -
  • -

    <%= backer.name %>

    - - <%= backer.amount %> -
  • -<% end %> - -
- -
diff --git a/src/layouts/fundraiser-layout.html.eco b/src/layouts/fundraiser-layout.html.eco deleted file mode 100644 index 017771a0a..000000000 --- a/src/layouts/fundraiser-layout.html.eco +++ /dev/null @@ -1,28 +0,0 @@ - - - -<%- @partial('head.html.eco', {title:@getPreparedTitle()}, {description:@getPreparedDescription()}, {keywords:@getPreparedKeywords()}, {author:@site.author or ''}, {styles:@getBlock("styles").add(["/styles/style.css", "/vendor/highlightjs/styles/an-old-hope.min.css"]).toHTML()} ) %> - - - -<%- @partial('header-menu.html.eco', {ablog:"class='active'"}) %> - -
- -
- -

<%= @document.title %>

- - <%- @content %> - -
- -
- -<%- @partial('footer.html') %> - -<%- @getBlock('scripts').add(@site.scripts).toHTML() %> - - - - From e6f448048d79e325593c79b4219d3ec9a562d550 Mon Sep 17 00:00:00 2001 From: Cameron Date: Tue, 27 Feb 2024 16:40:58 -0500 Subject: [PATCH 3/3] redo fundraiser blog to use markdown for content easier --- 11ty-source/_layouts/fundraiser-layout.liquid | 46 ++++++++++- 11ty-source/blog.liquid | 21 ++--- 11ty-source/blog/05-fundraiser.liquid | 80 ------------------- 11ty-source/blog/05-fundraiser.md | 25 ++++++ 4 files changed, 82 insertions(+), 90 deletions(-) delete mode 100644 11ty-source/blog/05-fundraiser.liquid create mode 100644 11ty-source/blog/05-fundraiser.md diff --git a/11ty-source/_layouts/fundraiser-layout.liquid b/11ty-source/_layouts/fundraiser-layout.liquid index b9816ae80..474739df1 100644 --- a/11ty-source/_layouts/fundraiser-layout.liquid +++ b/11ty-source/_layouts/fundraiser-layout.liquid @@ -6,6 +6,50 @@ layout: default.liquid

{{ title }}

- {{ content }} +
+ +
+ +
+
+
+ + +

Campaign success

+

+ The Indiegogo campaign of 2016 was a huge + success! +

+
+
+ +
+
+ {{ content }} + +
+
+ +
+ +

We thank all our Indiegogo backers:

+
    + + {%- for backer in backers -%} +
  • +

    {{ backer.name }}

    + + {{ backer.amount }} +
  • + {%- endfor -%} +
+ +
\ No newline at end of file diff --git a/11ty-source/blog.liquid b/11ty-source/blog.liquid index c171b7616..cfa28fb6b 100644 --- a/11ty-source/blog.liquid +++ b/11ty-source/blog.liquid @@ -4,20 +4,23 @@ layout: blog-layout ---
-
+
{%- for blog in collections.blogpost reversed -%} - -

{{ blog.data.title }}

-
- -

{{blog.content | strip_html |truncate: 150}} read more

- {% comment %}

<%- blog.contentPreview %> read more

{% endcomment %} + +

{{ blog.data.title }}

+
+ +

+ {{ blog.content | strip_html | truncate: 150 }} + read more +

+ {% comment %}

<%- blog.contentPreview %> read more

{% endcomment %} -
+
{%- endfor -%} -
+
\ No newline at end of file diff --git a/11ty-source/blog/05-fundraiser.liquid b/11ty-source/blog/05-fundraiser.liquid deleted file mode 100644 index 9eb140be3..000000000 --- a/11ty-source/blog/05-fundraiser.liquid +++ /dev/null @@ -1,80 +0,0 @@ ---- -title: "Fundraiser 2016" -layout: "fundraiser-layout" -postDate: "August 27, 2016" ---- - -
- -
- -
-
-
- - -

Campaign success

-

- The Indiegogo campaign of 2016 was a huge - success! -

-
-
- -
-
- -

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

-
-
- -
- -

We thank all our Indiegogo backers:

-
    - - {%- for backer in backers -%} -
  • -

    {{ backer.name }}

    - - {{ backer.amount }} -
  • - {%- endfor -%} -
- -
\ No newline at end of file diff --git a/11ty-source/blog/05-fundraiser.md b/11ty-source/blog/05-fundraiser.md new file mode 100644 index 000000000..94166020c --- /dev/null +++ b/11ty-source/blog/05-fundraiser.md @@ -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).