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 %}
|
2017-11-21 09:17:33 +01:00
|
|
|
{{ article.title }}
|
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() }}">
|
|
|
|
<i class="fa fa-clock-o"></i>
|
|
|
|
{{ article.locale_date }}
|
|
|
|
</li>
|
|
|
|
<li class="list-inline-item">
|
|
|
|
<i class="fa fa-folder-open-o"></i>
|
|
|
|
<a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>
|
|
|
|
</li>
|
|
|
|
{% if not HIDE_AUTHORS and article.authors %}
|
|
|
|
<li class="list-inline-item">
|
|
|
|
<i class="fa fa-user-o"></i>
|
|
|
|
{% 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">
|
|
|
|
<i class="fa fa-files-o"></i>
|
|
|
|
{% for tag in article.tags %}
|
|
|
|
<a href="{{ SITEURL }}/{{ tag.url }}">#{{ tag }}</a>{% if not loop.last %}, {% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
</li>
|
|
|
|
{% endif %}
|
|
|
|
</ul>
|
|
|
|
</header>
|
|
|
|
<div class="content">
|
|
|
|
{{ article.content }}
|
|
|
|
</div>
|
|
|
|
</article>
|
|
|
|
{% include 'include/comments.html' %}
|
2014-05-28 23:54:52 +02:00
|
|
|
{% endblock %}
|