Dynamically list mod projects

This commit is contained in:
Helen Chong 2024-06-30 20:55:03 +08:00
parent 90a18cc22c
commit 7f7cc20906
2 changed files with 18 additions and 3 deletions

View File

@ -14,6 +14,17 @@ eleventyComputed:
* [Beehive](https://fan.leilukin.com/) — My fanlisting collective * [Beehive](https://fan.leilukin.com/) — My fanlisting collective
{% endcontainer %} {% endcontainer %}
{% container "section", "content__section" %}
## My Code Projects
<ul>
<!-- {%- for project in collections["code projects"] -%}
<li>
<a href="{{ project.url }}">{{ project.data.articleTitle }}</a>
</li>
{%- endfor -%} -->
</ul>
{% endcontainer %}
{% container "section", "content__section" %} {% container "section", "content__section" %}
## My Drawings ## My Drawings
@ -26,9 +37,13 @@ My drawings can be found on my art blog on Tumblr:
## My Video Game Mods ## My Video Game Mods
I have created mods (short for "modifications") for the following video games: I have created mods (short for "modifications") for the following video games:
<ul>
* [Star Wars: Knights of the Old Republic](./videogamemods/kotor1) {%- for mods in collections["video game mods"] -%}
* [Star Wars: Knights of the Old Republic II: The Sith Lords](./videogamemods/kotor2) <li>
<a href="{{ mods.url }}">{{ mods.data.title }}</a>
</li>
{%- endfor -%}
</ul>
{% endcontainer %} {% endcontainer %}
{% container "section", "content__section" %} {% container "section", "content__section" %}