2013-11-24 18:53:19 +01:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
2014-06-21 13:07:58 +02:00
|
|
|
{% block head %}
|
2017-11-21 09:17:33 +01:00
|
|
|
{{ super() }}
|
|
|
|
{% if DESCRIPTION %}
|
|
|
|
<meta name="description" content="{{ DESCRIPTION|striptags }}">
|
|
|
|
{% endif %}
|
2016-11-06 20:32:20 +01:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block title %}
|
2017-11-21 09:17:33 +01:00
|
|
|
{{ SITENAME }} | {{ SITESUBTITLE }}
|
2016-11-06 20:32:20 +01:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block page_header %}
|
2017-11-21 09:17:33 +01:00
|
|
|
Articles
|
2014-06-21 13:07:58 +02:00
|
|
|
{% endblock %}
|
|
|
|
|
2013-11-24 18:53:19 +01:00
|
|
|
{% block content %}
|
2017-11-21 09:17:33 +01:00
|
|
|
{% for article in articles_page.object_list %}
|
|
|
|
<article class="row teaser">
|
|
|
|
<header class="col-sm-4 text-muted">
|
|
|
|
<ul>
|
|
|
|
<li title="{{ article.date.isoformat() }}">
|
2019-04-27 21:50:12 +02:00
|
|
|
<i class="fas fa-clock"></i>
|
2017-11-21 09:17:33 +01:00
|
|
|
{{ article.locale_date }}
|
|
|
|
</li>
|
|
|
|
<li>
|
2019-04-27 21:50:12 +02:00
|
|
|
<i class="fas fa-folder-open"></i>
|
2017-11-21 09:17:33 +01:00
|
|
|
<a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>
|
|
|
|
</li>
|
|
|
|
{% if not HIDE_AUTHORS and article.authors %}
|
|
|
|
<li>
|
2019-04-27 21:50:12 +02:00
|
|
|
<i class="fas fa-user"></i>
|
2017-11-21 09:17:33 +01:00
|
|
|
{% for author in article.authors %}
|
|
|
|
<a href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a>{% if not loop.last %}, {% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
</li>
|
|
|
|
{% endif %}
|
|
|
|
</ul>
|
|
|
|
</header>
|
|
|
|
<div class="col-sm-8">
|
|
|
|
<h4 class="title">
|
2020-01-06 12:50:02 +01:00
|
|
|
<a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}{% if article.link %} <i class="fas fa-link"></i>{% endif %}</a>
|
2017-11-21 09:17:33 +01:00
|
|
|
</h4>
|
|
|
|
<div class="content">
|
|
|
|
{{ article.summary|striptags }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</article>
|
|
|
|
{% if not loop.last %}
|
|
|
|
<hr>
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
{% include 'include/pagination.html' %}
|
2014-05-28 23:54:52 +02:00
|
|
|
{% endblock %}
|