From 0dc31e24608003784dfefeebb1c58d42e6df3961 Mon Sep 17 00:00:00 2001 From: Jonathan Souter Date: Fri, 3 Mar 2023 16:50:09 +1030 Subject: [PATCH] close out for loops in collection pages --- src/blog.md | 3 ++- src/games.md | 3 ++- src/lists.md | 3 ++- src/music.md | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/blog.md b/src/blog.md index deeed8a..148f17d 100644 --- a/src/blog.md +++ b/src/blog.md @@ -5,4 +5,5 @@ 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 }}) \ No newline at end of file + \- [{{ post.data.title || post.data.title != "" ? post.data.title : post.data.page.fileSlug }}](/{{ tag }}/{{ post.data.page.fileSlug }}) +{% endfor %} \ No newline at end of file diff --git a/src/games.md b/src/games.md index 040086e..24a22eb 100644 --- a/src/games.md +++ b/src/games.md @@ -5,4 +5,5 @@ 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 }}) \ No newline at end of file + \- [{{ post.data.title || post.data.title != "" ? post.data.title : post.data.page.fileSlug }}](/{{ tag }}/{{ post.data.page.fileSlug }}) +{% endfor %} \ No newline at end of file diff --git a/src/lists.md b/src/lists.md index 714e508..38b59b4 100644 --- a/src/lists.md +++ b/src/lists.md @@ -5,4 +5,5 @@ 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 }}) \ No newline at end of file + \- [{{ post.data.title || post.data.title != "" ? post.data.title : post.data.page.fileSlug }}](/{{ tag }}/{{ post.data.page.fileSlug }}) +{% endfor %} \ No newline at end of file diff --git a/src/music.md b/src/music.md index af7a690..9433cfb 100644 --- a/src/music.md +++ b/src/music.md @@ -5,4 +5,5 @@ 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 }}) \ No newline at end of file + \- [{{ post.data.title || post.data.title != "" ? post.data.title : post.data.page.fileSlug }}](/{{ tag }}/{{ post.data.page.fileSlug }}) +{% endfor %} \ No newline at end of file