From 154d1e2d9e89d244c4ded5fc49b5c6d90b9f0e80 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Sat, 12 Aug 2023 23:18:39 +0200 Subject: [PATCH] sort community showcase items --- .../{community-content.json => community_content.json} | 0 .../{community-sections.json => community_sections.json} | 0 web/community.html | 7 ++++--- 3 files changed, 4 insertions(+), 3 deletions(-) rename web/_data/{community-content.json => community_content.json} (100%) rename web/_data/{community-sections.json => community_sections.json} (100%) diff --git a/web/_data/community-content.json b/web/_data/community_content.json similarity index 100% rename from web/_data/community-content.json rename to web/_data/community_content.json diff --git a/web/_data/community-sections.json b/web/_data/community_sections.json similarity index 100% rename from web/_data/community-sections.json rename to web/_data/community_sections.json diff --git a/web/community.html b/web/community.html index 07d7be5..793e48b 100644 --- a/web/community.html +++ b/web/community.html @@ -10,16 +10,17 @@ summary: A fun simulation game where you mess with people's lives

💬 Community Showcase

Ever since Tiny Life released into Early Access, the game's community has been growing steadily, and you all have been absolutely amazing. You've released videos, livestreamed gameplay, created mods, households, lots and other custom content, and you've even drawn fan art of pre-made Tinies! We love community contributions, and so we want to dedicate this section to our community and showcase some of the awesome stuff you've created.

All content on this page abides by the Tiny Life Content and Community Policy, and you can consider content on this page to be officially endorsed. Nevertheless, please always take care when downloading and installing custom content and mods for Tiny Life.

-

If you're interested in having your content added to this page, please let us know on the Discord server or submit a pull request.

+

If you're interested in having your content added to this page, please let us know on the Discord server or submit a pull request.

- {% for section in site.data.community-sections %} + {% assign sorted_content = site.data.community_content | sort_natural: "name" %} + {% for section in site.data.community_sections %}

{{ section.name }}

{{ section.desc }}

{% assign any = false %} - {% for content in site.data.community-content %} + {% for content in sorted_content %} {% if content.section == section.slug %} {% assign slug = content.name | slugify %}