58 lines
1.0 KiB
HTML
58 lines
1.0 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{% block head_title %}
|
|
{{ SITENAME | striptags }} :: Blog
|
|
{% endblock head_title %}
|
|
|
|
{% block head %}
|
|
{{ super() }}
|
|
{% if DESCRIPTION %}
|
|
<meta name="description" content="{{ DESCRIPTION }}" />
|
|
{% endif %}
|
|
{% endblock head %}
|
|
|
|
{% block main %}
|
|
<section id="title">
|
|
<h1>
|
|
Blog
|
|
</h1>
|
|
</section>
|
|
{% if DESCRIPTION %}
|
|
<section id="abstract">
|
|
<p>
|
|
{{ DESCRIPTION }}
|
|
</p>
|
|
</section>
|
|
{% endif %}
|
|
<dl>
|
|
{% for article in dates %}
|
|
<dt>
|
|
<a href="{{ SITEURL }}/{{ article.url }}">
|
|
{{ article.title }}
|
|
</a>
|
|
</dt>
|
|
<dd>
|
|
{{ article.summary }}
|
|
<p class="metainfo">
|
|
{% if article.authors %}
|
|
{% for author in article.authors %}
|
|
{{ author }}
|
|
{% if not loop.last %}
|
|
,
|
|
{% else %}
|
|
::
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% endif %}
|
|
{{ article.locale_date }}
|
|
{% if article.license %}
|
|
::
|
|
<a href="{{ article.license[1] }}">
|
|
{{ article.license[0] }}
|
|
</a>
|
|
{% endif %}
|
|
</p>
|
|
</dd>
|
|
{% endfor %}
|
|
</dl>
|
|
{% endblock main %} |