aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/tags
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2022-12-21 23:45:30 +0100
committerJohannes Stoelp <johannes.stoelp@gmail.com>2022-12-21 23:45:44 +0100
commit271298a9763515e1735abc5a68eff102c3d676c4 (patch)
tree39454e591ebe0980ec310be5d3969f6cf187651d /templates/tags
parent8e806d23403fc477bc4eca07d618d3156723097c (diff)
downloadblog-271298a9763515e1735abc5a68eff102c3d676c4.tar.gz
blog-271298a9763515e1735abc5a68eff102c3d676c4.zip
initial version of own template
Diffstat (limited to 'templates/tags')
-rw-r--r--templates/tags/list.html16
-rw-r--r--templates/tags/single.html16
2 files changed, 32 insertions, 0 deletions
diff --git a/templates/tags/list.html b/templates/tags/list.html
new file mode 100644
index 0000000..8de7870
--- /dev/null
+++ b/templates/tags/list.html
@@ -0,0 +1,16 @@
+{% extends "index.html" %}
+
+{% block content %}
+ <h1>Tags</h1>
+ <ul>
+ {% for term in terms %}
+ <li>
+ <a href="{{ term.permalink }}">#{{ term.name }}</a>
+ </li>
+ {% endfor %}
+ </ul>
+{% endblock content %}
+
+<!--
+vim:sw=2
+-->
diff --git a/templates/tags/single.html b/templates/tags/single.html
new file mode 100644
index 0000000..52b965e
--- /dev/null
+++ b/templates/tags/single.html
@@ -0,0 +1,16 @@
+{% extends "index.html" %}
+
+{% block content %}
+ <h1>Tag: #{{ term.name }}</h1>
+ <ul>
+ {% for page in term.pages %}
+ <li>
+ <a href="{{ page.permalink }}">{{ page.title }}</a>
+ </li>
+ {% endfor %}
+ </ul>
+{% endblock content %}
+
+<!--
+vim:sw=2
+-->