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

View File

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

View File

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

View File

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