diff options
Diffstat (limited to 'photowall/templates/tags.html')
-rw-r--r-- | photowall/templates/tags.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/photowall/templates/tags.html b/photowall/templates/tags.html new file mode 100644 index 0000000..fb09955 --- /dev/null +++ b/photowall/templates/tags.html @@ -0,0 +1,16 @@ +{% extends "base.html" %} + +{% block title %}{{ SITENAME }} - Tags{% endblock %} + +{% block content %} + +<section id="content" class="body"> + <h1>Tags for {{ SITENAME }}</h1> + <ul> + {% for tag, articles in tags|sort %} + <li><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a> ({{ articles|count }})</li> + {% endfor %} + </ul> +</section> + +{% endblock %} |