diff --git a/src/pages/blog.md b/src/pages/blog.md new file mode 100644 index 0000000..72e57f0 --- /dev/null +++ b/src/pages/blog.md @@ -0,0 +1,8 @@ +--- +title: Blog +description: 'All blog posts can be found here' +layout: blog +permalink: /blog/index.html +--- + +Here, you can find every post of this blog \ No newline at end of file diff --git a/src/pages/tag.md b/src/pages/tag.md new file mode 100644 index 0000000..3eacf35 --- /dev/null +++ b/src/pages/tag.md @@ -0,0 +1,17 @@ +--- +eleventyComputed: + title: "Posts tagged “{{ tag }}”" +permalink: '/tags/{{ tag | slug }}/' +pagination: + data: collections + size: 1 + alias: tag +layout: base +--- + +# {{ title }} + +{% set postslist = collections[ tag ] %} +{% include "partials/posts.njk" %} + +View all [tags](/tags/). \ No newline at end of file diff --git a/src/pages/tags.md b/src/pages/tags.md new file mode 100644 index 0000000..82d483a --- /dev/null +++ b/src/pages/tags.md @@ -0,0 +1,16 @@ +--- +title: Tags +permalink: /tags/ +layout: base +--- + +# {{ title }} + +