aboutsummaryrefslogtreecommitdiffstats
path: root/aboutwilson/templates/category.html
diff options
context:
space:
mode:
authorwilsonfreitas <wilson.freitas@gmail.com>2014-08-13 08:49:52 -0300
committerwilsonfreitas <wilson.freitas@gmail.com>2014-08-13 08:49:52 -0300
commitd404e2fe5b8c57c473c6250b8decbf5ac5b45e64 (patch)
treed2c21b808e1244f010396b5f40d57f66b9036564 /aboutwilson/templates/category.html
parentd977b524fddbeddd06374c85a070c54110c76a14 (diff)
downloadpelican-themes-d404e2fe5b8c57c473c6250b8decbf5ac5b45e64.tar.gz
Added new theme aboutwilson
Diffstat (limited to 'aboutwilson/templates/category.html')
-rw-r--r--aboutwilson/templates/category.html16
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