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