summaryrefslogtreecommitdiff
path: root/templates/tags
diff options
context:
space:
mode:
Diffstat (limited to 'templates/tags')
-rw-r--r--templates/tags/list.html18
-rw-r--r--templates/tags/single.html21
2 files changed, 39 insertions, 0 deletions
diff --git a/templates/tags/list.html b/templates/tags/list.html
new file mode 100644
index 0000000..2b5a16c
--- /dev/null
+++ b/templates/tags/list.html
@@ -0,0 +1,18 @@
+{% extends "base.html" %}
+
+{% block title %}
+<title>Tags</title>
+{% endblock %}
+
+{% block content %}
+<p class="archive_title">[Tags]</p>
+
+<ul>
+ {% for term in terms %}
+ <li>
+ <a href="{{ term.permalink }}">#{{ term.name }}</a>
+ ({{ term.pages | length }})
+ </li>
+ {% endfor %}
+</ul>
+{% endblock content %} \ No newline at end of file
diff --git a/templates/tags/single.html b/templates/tags/single.html
new file mode 100644
index 0000000..0549304
--- /dev/null
+++ b/templates/tags/single.html
@@ -0,0 +1,21 @@
+{% extends "base.html" %}
+
+{% block title %}
+<title>{{ term.name }} | {{ config.title }}</title>
+{% endblock %}
+
+{% block content %}
+<p class="archive_title">[Tag: {{ term.name }}]</p>
+
+{% for page in term.pages %}
+<p>
+ <div class="date">
+ {{ page.date }}
+ </div>
+ <div class="archive_title">
+ <a href="{{ page.permalink | safe }}">{{ page.title }}</a>
+ </div>
+</p>
+{% endfor %}
+
+{% endblock content %} \ No newline at end of file