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
24
pelican/themes/Flex/templates/period_archives.html
Normal file
24
pelican/themes/Flex/templates/period_archives.html
Normal file
|
@ -0,0 +1,24 @@
|
|||
{% extends "base.html" %}
|
||||
{% block title %} – {{ _('Archives') }}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<article class="single">
|
||||
<header>
|
||||
<h1 id="archives">{{ _('Archives') }}</h1>
|
||||
</header>
|
||||
<div>
|
||||
<dl>
|
||||
{% set previous_date = False %}
|
||||
|
||||
{% for article in dates %}
|
||||
{% if article.locale_date != previous_date %}
|
||||
{% set previous_date = article.locale_date %}
|
||||
<dt>{{ article.locale_date }}</dt>
|
||||
{% endif %}
|
||||
|
||||
<dd><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></dd>
|
||||
{% endfor %}
|
||||
</dl>
|
||||
</div>
|
||||
</article>
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue