diff options
Diffstat (limited to 'ops/templates/categories.html')
-rw-r--r-- | ops/templates/categories.html | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/ops/templates/categories.html b/ops/templates/categories.html new file mode 100644 index 0000000..26396bb --- /dev/null +++ b/ops/templates/categories.html @@ -0,0 +1,24 @@ +{% extends 'base.html' %} + +{% block title %} {{ SITENAME }} - Categories {% endblock %} + +{% block container %} + <section id="content"> + <header class="header"> + <h2 class="blogpost-title">Categories</h2> + </header> + <dl> + {% for category, articles in categories %} + <dd> + <a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a>({{ articles|count }}) + </dd> + {% endfor %} + </dl> + </section> + <br/><br/><br/> + +{% endblock %} + +{% block footer %} + {% include '_includes/footer.html' %} +{% endblock %}
\ No newline at end of file |