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

14 lines
458 B
HTML

{% extends "base.html" %}
{% block title %}Categories - {{ SITENAME|striptags }}{% endblock %}
{% block content %}
<div class="md:text-base lg:text-lg">
<h1 class="text-3xl md:text-5xl">Blog categories</h1>
<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 %}