make lists and games plural

This commit is contained in:
jonathan 2023-05-02 10:56:36 +09:30
parent 9d0c5f3eef
commit f31e48ced3
9 changed files with 7 additions and 7 deletions

View File

@ -5,7 +5,7 @@ eleventyImport.collections: ["games"]
---
<div class="pages-article">
{% for post in collections.game | reverse %}
\- [{{ post.data.title or post.data.page.fileSlug }}](/game/{{ post.data.page.fileSlug }})
{% for post in collections.games | reverse %}
\- [{{ post.data.title or post.data.page.fileSlug }}](/games/{{ post.data.page.fileSlug }})
{% endfor %}
</div>

View File

@ -1,4 +1,4 @@
{
"layout": "layout/blog",
"tags": ["game","post"]
"tags": ["games","post"]
}

View File

@ -1,11 +1,11 @@
---
title: lists
layout: layout/base.njk
eleventyImport.collections: ["list"]
eleventyImport.collections: ["lists"]
---
<div class="pages-article">
{% for post in collections.list | reverse %}
\- [{{ post.data.title or post.data.page.fileSlug }}](/list/{{ post.data.page.fileSlug }})
{% for post in collections.lists | reverse %}
\- [{{ post.data.title or post.data.page.fileSlug }}](/lists/{{ post.data.page.fileSlug }})
{% endfor %}
</div>

View File

@ -1,4 +1,4 @@
{
"layout": "layout/blog",
"tags": ["list","post"]
"tags": ["lists","post"]
}