1
0
Fork 0
forked from github/pelican
pelican-theme/templates/categories.html

14 lines
429 B
HTML

{% extends "base.html" %}
{% block title %}{{ SITENAME|striptags }} - Categories{% endblock %}
{% block content %}
<div class="md:text-base lg:text-lg">
<h2>Blog categories</h2>
<ul class="hyphens-auto">
{% for category, articles in categories|sort %}
<li><a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a> ({{ articles|count }})</li>
{% endfor %}
</ul>
</div>
{% endblock %}