2014-05-28 23:54:52 +02:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block head %}
|
2017-11-21 09:17:33 +01:00
|
|
|
{{ super() }}
|
|
|
|
<meta name="description" content="{{ article.summary|striptags }}">
|
2014-05-28 23:54:52 +02:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block title %}
|
2017-11-21 09:17:33 +01:00
|
|
|
{{ article.title|striptags }} {{ super() }}
|
2016-11-06 20:32:20 +01:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block page_header %}
|
2020-01-06 12:50:02 +01:00
|
|
|
{% if article.link %}
|
|
|
|
<a href="{{ article.link }}" rel="bookmark">
|
|
|
|
{% endif %}
|
2017-11-21 09:17:33 +01:00
|
|
|
{{ article.title }}
|
2020-01-06 12:50:02 +01:00
|
|
|
{% if article.link %}
|
|
|
|
<i class="fas fa-link"></i></a>
|
|
|
|
{% endif %}
|
2014-05-28 23:54:52 +02:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
2017-11-21 09:17:33 +01:00
|
|
|
<article class="article">
|
|
|
|
<header>
|
|
|
|
<ul class="list-inline">
|
|
|
|
<li class="list-inline-item text-muted" 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 class="list-inline-item">
|
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 class="list-inline-item">
|
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 %}
|
|
|
|
{% if article.tags %}
|
|
|
|
<li class="list-inline-item">
|
2019-04-27 21:50:12 +02:00
|
|
|
<i class="fas fa-tag"></i>
|
2017-11-21 09:17:33 +01:00
|
|
|
{% for tag in article.tags %}
|
|
|
|
<a href="{{ SITEURL }}/{{ tag.url }}">#{{ tag }}</a>{% if not loop.last %}, {% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
</li>
|
|
|
|
{% endif %}
|
2019-04-27 21:50:46 +02:00
|
|
|
{% if article.translations %}
|
|
|
|
<li class="list-inline-item">
|
|
|
|
<i class="fas fa-globe"></i>
|
|
|
|
{% for translation in article.translations %}
|
|
|
|
<a href="{{ SITEURL }}/{{ translation.url }}">{{ translation.lang }}</a>
|
|
|
|
{% endfor %}
|
|
|
|
</li>
|
|
|
|
{% endif %}
|
2017-11-21 09:17:33 +01:00
|
|
|
</ul>
|
|
|
|
</header>
|
|
|
|
<div class="content">
|
|
|
|
{{ article.content }}
|
2020-01-06 12:50:02 +01:00
|
|
|
{% if article.link %}
|
|
|
|
<p class="link-button"><a href="{{ article.link }}" rel="bookmark">
|
|
|
|
<i class="fas fa-link"></i> view link
|
|
|
|
</a></p>
|
|
|
|
{% endif %}
|
2017-11-21 09:17:33 +01:00
|
|
|
</div>
|
|
|
|
</article>
|
|
|
|
{% include 'include/comments.html' %}
|
2014-05-28 23:54:52 +02:00
|
|
|
{% endblock %}
|