Format indentation of article listings

This commit is contained in:
Helen Chong 2024-06-30 20:57:03 +08:00
parent 7f7cc20906
commit cf8bea9453
4 changed files with 42 additions and 42 deletions

View File

@ -9,12 +9,12 @@ eleventyNavigation:
## My Articles
Articles I have written.
<ul>
{%- for article in collections["my articles"] -%}
{%- for article in collections["my articles"] -%}
<li>
<p><a href="{{ article.url }}">{{ article.data.articleTitle }}</a></p>
<p>{{ article.date | formatDate }}</p>
</li>
{%- endfor -%}
{%- endfor -%}
</ul>
## My Articles for Video Games with Their Own Pages
@ -24,10 +24,10 @@ Articles I have written.
## Featured Articles
Articles featuring other people's interview with me.
<ul>
{%- for article in collections["featured articles"] -%}
{%- for article in collections["featured articles"] -%}
<li>
<p><a href="{{ article.url }}">{{ article.data.articleTitle }}</a></p>
<p>{{ article.date | formatDate }}</p>
</li>
{%- endfor -%}
{%- endfor -%}
</ul>

View File

@ -14,12 +14,12 @@ eleventyNavigation:
## My {% cite "Cassette Beasts" %} Articles
<ul>
{%- for article in collections["cassette beasts articles"] -%}
{%- for article in collections["cassette beasts articles"] -%}
<li>
<p><a href="{{ article.url }}">{{ article.data.articleTitle }}</a></p>
<p>{{ article.date | formatDate }}</p>
</li>
{%- endfor -%}
{%- endfor -%}
</ul>
## {% cite "Cassette Beasts" %} Articles I Recommend

View File

@ -14,32 +14,32 @@ eleventyNavigation:
## My Articles for Both Games
<ul>
{%- for article in collections["kotor both articles"] -%}
{%- for article in collections["kotor both articles"] -%}
<li>
<p><a href="{{ article.url }}">{{ article.data.articleTitle }}</a></p>
<p>{{ article.date | formatDate }}</p>
</li>
{%- endfor -%}
{%- endfor -%}
</ul>
## My KotOR 1 Articles
<ul>
{%- for article in collections["kotor 1 articles"] -%}
{%- for article in collections["kotor 1 articles"] -%}
<li>
<p><a href="{{ article.url }}">{{ article.data.articleTitle }}</a></p>
<p>{{ article.date | formatDate }}</p>
</li>
{%- endfor -%}
{%- endfor -%}
</ul>
## My KotOR 2 Articles
<ul>
{%- for article in collections["kotor 2 articles"] -%}
{%- for article in collections["kotor 2 articles"] -%}
<li>
<p><a href="{{ article.url }}">{{ article.data.articleTitle }}</a></p>
<p>{{ article.date | formatDate }}</p>
</li>
{%- endfor -%}
{%- endfor -%}
</ul>
## KotOR Articles I Recommend

View File

@ -14,12 +14,12 @@ eleventyNavigation:
## My KotOR Guides
<ul>
{%- for article in collections["kotor guides"] -%}
{%- for article in collections["kotor guides"] -%}
<li>
<p><a href="{{ article.url }}">{{ article.data.articleTitle }}</a></p>
<p>{{ article.date | formatDate }}</p>
</li>
{%- endfor -%}
{%- endfor -%}
</ul>
## KotOR 1 Guides by Others