1
0
Fork 0
forked from github/pelican

Merge branch 'getpelican:master' into master

This commit is contained in:
Pierre 2022-02-20 10:29:06 +08:00 committed by GitHub
commit 34ca2e1de2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 154 additions and 68 deletions

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 %}