pelican-theme-bootstrap4/templates/archives.html
2019-04-19 21:30:55 +03:00

25 lines
976 B
HTML

{% extends "base.html" %}
{% block title %}{{ _('Archives') }} - {{ SITENAME }}{% endblock %}
{% block breadcrumbs %}
{% if DISPLAY_BREADCRUMBS %}
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="{{ SITEURL }}" title="{{ SITENAME }}"><i class="icon-home"></i></a></li>
<li class="breadcrumb-item active">{{ _('Archives') }}</li>
</ol>
{% endif %}
{% endblock %}
{% block content %}
<section id="content">
<h2>{{ _('Archives for') }} {{ SITENAME }}</h2>
<div id="archives">
{% for article in dates %}
<p>
<span class="categories-timestamp"><time datetime="{{ article.date.isoformat() }}">{{ article.locale_date }}</time></span>
<a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}{% if article.subtitle %} - {{ article.subtitle }}{% endif %}</a>
</p>
{% endfor %}
</div>
</section>
{% endblock %}