diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/tags/list.html | 14 | ||||
-rw-r--r-- | templates/tags/single.html | 16 |
2 files changed, 30 insertions, 0 deletions
diff --git a/templates/tags/list.html b/templates/tags/list.html new file mode 100644 index 0000000..9fdee7e --- /dev/null +++ b/templates/tags/list.html @@ -0,0 +1,14 @@ +{% extends "index.html" %} + +{% block title %}Tags{% endblock title%} + +{% block content %} +<h1>Tags</h1> +<ul> + {% for term in terms %} + <li> + <a href="{{ term.permalink }}">#{{ term.name }}</a> + </li> + {% endfor %} +</ul> +{% endblock content %} diff --git a/templates/tags/single.html b/templates/tags/single.html new file mode 100644 index 0000000..4062e4a --- /dev/null +++ b/templates/tags/single.html @@ -0,0 +1,16 @@ +{% extends "index.html" %} + +{% block title %}#{{ term.name }}{% endblock title%} + +{% 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 %} |