Init
This commit is contained in:
24
templates/archives.html
Normal file
24
templates/archives.html
Normal file
@ -0,0 +1,24 @@
|
||||
{% 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 %}
|
Reference in New Issue
Block a user