moved pygments, static and templates to the pelican/themes/Flex subdir
This commit is contained in:
parent
a17ebec50f
commit
7a465d81e3
155 changed files with 0 additions and 0 deletions
20
pelican/themes/Flex/templates/categories.html
Normal file
20
pelican/themes/Flex/templates/categories.html
Normal file
|
@ -0,0 +1,20 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block title %} – {{ _('Categories') }}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<article class="single">
|
||||
<header>
|
||||
<h1 id="categories">{{ _('Categories') }}</h1>
|
||||
</header>
|
||||
<div>
|
||||
<ul class="list">
|
||||
{% for category, articles in categories|sort %}
|
||||
<li>
|
||||
<a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a> ({{ articles|count }})
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
</article>
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue