Pelican-Blog-freibier.cc/themes/simple/categories.html

13 lines
354 B
HTML
Raw Permalink Normal View History

2020-12-19 23:59:44 +01:00
{% extends "base.html" %}
{% block title %}{{ SITENAME }} - Categories{% endblock %}
{% block content %}
<h1>Categories on {{ SITENAME }}</h1>
<ul>
{% for category, articles in categories|sort %}
<li><a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a> ({{ articles|count }})</li>
{% endfor %}
</ul>
{% endblock %}