Fix #2972 Add notmyidea categories.html template

This commit is contained in:
Paolo Melchiorre 2022-01-12 21:20:40 +01:00
commit 1e7741eabc
No known key found for this signature in database
GPG key ID: 5F8222398E1ED035

View file

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