From 074806fc937603488404c271191209f33bd984a8 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Fri, 17 Apr 2015 22:33:42 +0100 Subject: [PATCH] Added tag pages --- source/blog/tags.html.twig | 14 ++++++++++++++ source/blog/tags/tag.html.twig | 23 +++++++++++++++++++++++ source/blog/{ => tags}/tag.xml | 0 3 files changed, 37 insertions(+) create mode 100644 source/blog/tags.html.twig create mode 100644 source/blog/tags/tag.html.twig rename source/blog/{ => tags}/tag.xml (100%) diff --git a/source/blog/tags.html.twig b/source/blog/tags.html.twig new file mode 100644 index 00000000..b95319c9 --- /dev/null +++ b/source/blog/tags.html.twig @@ -0,0 +1,14 @@ +--- +layout: default +title: Tags +nav: blog +use: + - posts_tags +--- +

Tags

+ + \ No newline at end of file diff --git a/source/blog/tags/tag.html.twig b/source/blog/tags/tag.html.twig new file mode 100644 index 00000000..4e83d536 --- /dev/null +++ b/source/blog/tags/tag.html.twig @@ -0,0 +1,23 @@ +--- +layout: default +title: Tag Archive +nav: blog +generator: + - posts_tag_index +--- + +{% block head_meta %} + + +{% endblock %} + +{% block title %}{{ page.title }} "{{ page.tag }}"{% endblock %} + +{% block content %} +

"{{ page.tag }}"

+ +{% endblock content %} \ No newline at end of file diff --git a/source/blog/tag.xml b/source/blog/tags/tag.xml similarity index 100% rename from source/blog/tag.xml rename to source/blog/tags/tag.xml