diff --git a/web/_includes/devlog_category.html b/web/_includes/devlog_category.html new file mode 100644 index 0000000..a7400ca --- /dev/null +++ b/web/_includes/devlog_category.html @@ -0,0 +1,17 @@ +
+

{{ include.tag }}

+

{{ include.description }}

+ + {% for post in site.posts %} + {% if post.tags contains include.tag %} +
+

{{ post.title }}

+
{{ post.date | date_to_string }}
+
+ Read this post – + Read on itch – + Read on Steam
+
+ {% endif %} + {% endfor %} +
diff --git a/web/_includes/devlogs.html b/web/_includes/devlogs.html index 22b64fc..455830b 100644 --- a/web/_includes/devlogs.html +++ b/web/_includes/devlogs.html @@ -2,31 +2,13 @@

📢 Posts

Posts are organized into categories, which you can find below. If you want to receive all these posts in your inbox or your favorite feed reader, you can subscribe to the mailing list or the Atom feed.

- {% assign sorted = site.tags | sort %} - {% for tag in sorted %} -
-

{{ tag[0] }}

-

- {% case tag[0] %} - {% when "Devlogs" %} - Along with every major update, we publish a devlog that features additional information as well as some screenshots. You can also read the full changelog. - {% when "Community Showcase" %} - We want to dedicate this section to our community and showcase some of the awesome stuff you've created. Be it in-game content, videos, or fan art, this category is dedicated to your creations. - {% when "Tiny Technicalities" %} - Tiny Technicalities gives you a little look behind the scenes of Tiny Life development, including explanations about the graphics, music, AI, build mode, and more! - {% endcase %} -

- - {% for post in tag[1] %} -
-

{{ post.title }}

-
{{ post.date | date_to_string }}
-
- Read this post – - Read on itch – - Read on Steam
-
- {% endfor %} -
- {% endfor %} + {% include devlog_category.html + tag="Community Showcase" + description="We want to dedicate this section to our community and showcase some of the awesome stuff you've created. Be it in-game content, videos, or fan art, this category is dedicated to your creations." %} + {% include devlog_category.html + tag="Tiny Technicalities" + description="Tiny Technicalities gives you a little look behind the scenes of Tiny Life development, including explanations about the graphics, music, AI, build mode, and more!" %} + {% include devlog_category.html + tag="Devlogs" + description="Along with every major update, we publish a devlog that features additional information as well as some screenshots. You can also read the full changelog." %}