diff options
Diffstat (limited to 'aboutwilson/templates/category.html')
-rw-r--r-- | aboutwilson/templates/category.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/aboutwilson/templates/category.html b/aboutwilson/templates/category.html new file mode 100644 index 0000000..48ffca9 --- /dev/null +++ b/aboutwilson/templates/category.html @@ -0,0 +1,16 @@ +{% extends "base.html" %} +{% block description %}All posts which refer to category {{ category }}{% endblock %} +{% block title %}{{ category }} — {{ SITENAME }}{% endblock %} +{% block content %} +<h1>Category <small>{{category}}</small></h1> +<table class="table"> + <tbody> + {% for article in articles %} + <tr> + <td>{{ article.date.strftime("%d %b %Y") }}</td> + <td><a href='{{ SITEURL }}/{{ article.url }}'>{{ article.title }}</a></td> + </tr> + {% endfor %} + </tbody> +</table> +{% endblock %}
\ No newline at end of file |