1
0
Fork 0
forked from github/pelican

Clean simple theme

This commit is contained in:
Alexandre Bonnetain 2018-06-13 00:20:55 +00:00
commit 80027bc714
11 changed files with 63 additions and 25 deletions

View file

@ -1,8 +1,11 @@
{% extends "base.html" %}
{% block title %}{{ SITENAME }} - Categories{% endblock %}
{% block content %}
<ul>
{% for category, articles in categories %}
<li><a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a></li>
{% for category, articles in categories|sort %}
<li><a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a> ({{ articles|count }})</li>
{% endfor %}
</ul>
{% endblock %}