add extra collection pages
This commit is contained in:
1 parent
11835b1593
commit
91d0413bfd
6 files changed
+28
-3
No files matched your search
+2
-1
@@ -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 }})
|
||||
@@ -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"
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
@@ -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