add extra collection pages
This commit is contained in:
@ -4,4 +4,5 @@ layout: layout/base.njk
|
||||
eleventyImport.collections: ["blog"]
|
||||
---
|
||||
|
||||

|
||||
{% for post in collections.blog %}
|
||||
\- [{{ post.data.title || post.data.title != "" ? post.data.title : post.data.page.fileSlug }}](/{{ tag }}/{{ post.data.page.fileSlug }})
|
8
src/games.md
Normal file
8
src/games.md
Normal file
@ -0,0 +1,8 @@
|
||||
---
|
||||
title: games
|
||||
layout: layout/base.njk
|
||||
eleventyImport.collections: ["games"]
|
||||
---
|
||||
|
||||
{% for post in collections.game %}
|
||||
\- [{{ post.data.title || post.data.title != "" ? post.data.title : post.data.page.fileSlug }}](/{{ tag }}/{{ post.data.page.fileSlug }})
|
@ -1,4 +1,4 @@
|
||||
{
|
||||
"layout": "layout/blog",
|
||||
"tags": "games"
|
||||
"tags": "game"
|
||||
}
|
8
src/lists.md
Normal file
8
src/lists.md
Normal file
@ -0,0 +1,8 @@
|
||||
---
|
||||
title: lists
|
||||
layout: layout/base.njk
|
||||
eleventyImport.collections: ["list"]
|
||||
---
|
||||
|
||||
{% for post in collections.list %}
|
||||
\- [{{ post.data.title || post.data.title != "" ? post.data.title : post.data.page.fileSlug }}](/{{ tag }}/{{ post.data.page.fileSlug }})
|
@ -1,4 +1,4 @@
|
||||
{
|
||||
"layout": "layout/blog",
|
||||
"tags": "lists"
|
||||
"tags": "list"
|
||||
}
|
8
src/music.md
Normal file
8
src/music.md
Normal file
@ -0,0 +1,8 @@
|
||||
---
|
||||
title: music
|
||||
layout: layout/base.njk
|
||||
eleventyImport.collections: ["music"]
|
||||
---
|
||||
|
||||
{% for post in collections.music %}
|
||||
\- [{{ post.data.title || post.data.title != "" ? post.data.title : post.data.page.fileSlug }}](/{{ tag }}/{{ post.data.page.fileSlug }})
|
Reference in New Issue
Block a user