From f31e48ced3e228f3358b3fafcc6a91ea183187ac Mon Sep 17 00:00:00 2001 From: jonathan Date: Tue, 2 May 2023 10:56:36 +0930 Subject: [PATCH] make lists and games plural --- src/games.md | 4 ++-- src/{game/game.json => games/games.json} | 2 +- src/{game => games}/modern_puzzle_games🚧.md | 0 src/{game => games}/pizza_tower.md | 0 src/{game => games}/🚧the_witness.md | 0 src/lists.md | 6 +++--- src/{list => lists}/cool_links.md | 0 src/{list/list.json => lists/lists.json} | 2 +- src/{list => lists}/webcomics.md | 0 9 files changed, 7 insertions(+), 7 deletions(-) rename src/{game/game.json => games/games.json} (53%) rename src/{game => games}/modern_puzzle_games🚧.md (100%) rename src/{game => games}/pizza_tower.md (100%) rename src/{game => games}/🚧the_witness.md (100%) rename src/{list => lists}/cool_links.md (100%) rename src/{list/list.json => lists/lists.json} (53%) rename src/{list => lists}/webcomics.md (100%) diff --git a/src/games.md b/src/games.md index a912ddf..d21bac5 100644 --- a/src/games.md +++ b/src/games.md @@ -5,7 +5,7 @@ eleventyImport.collections: ["games"] ---
-{% 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 %}
\ No newline at end of file diff --git a/src/game/game.json b/src/games/games.json similarity index 53% rename from src/game/game.json rename to src/games/games.json index 4433d77..6b646e0 100644 --- a/src/game/game.json +++ b/src/games/games.json @@ -1,4 +1,4 @@ { "layout": "layout/blog", - "tags": ["game","post"] + "tags": ["games","post"] } \ No newline at end of file diff --git a/src/game/modern_puzzle_games🚧.md b/src/games/modern_puzzle_games🚧.md similarity index 100% rename from src/game/modern_puzzle_games🚧.md rename to src/games/modern_puzzle_games🚧.md diff --git a/src/game/pizza_tower.md b/src/games/pizza_tower.md similarity index 100% rename from src/game/pizza_tower.md rename to src/games/pizza_tower.md diff --git a/src/game/🚧the_witness.md b/src/games/🚧the_witness.md similarity index 100% rename from src/game/🚧the_witness.md rename to src/games/🚧the_witness.md diff --git a/src/lists.md b/src/lists.md index 417b98f..530c964 100644 --- a/src/lists.md +++ b/src/lists.md @@ -1,11 +1,11 @@ --- title: lists layout: layout/base.njk -eleventyImport.collections: ["list"] +eleventyImport.collections: ["lists"] ---
-{% 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 %}
\ No newline at end of file diff --git a/src/list/cool_links.md b/src/lists/cool_links.md similarity index 100% rename from src/list/cool_links.md rename to src/lists/cool_links.md diff --git a/src/list/list.json b/src/lists/lists.json similarity index 53% rename from src/list/list.json rename to src/lists/lists.json index f886b95..edb3fc1 100644 --- a/src/list/list.json +++ b/src/lists/lists.json @@ -1,4 +1,4 @@ { "layout": "layout/blog", - "tags": ["list","post"] + "tags": ["lists","post"] } \ No newline at end of file diff --git a/src/list/webcomics.md b/src/lists/webcomics.md similarity index 100% rename from src/list/webcomics.md rename to src/lists/webcomics.md