2010-08-17 20:28:51 +02:00
|
|
|
{% extends "base.html" %}
|
2018-07-01 20:32:08 +02:00
|
|
|
{% block html_lang %}{{ article.lang }}{% endblock %}
|
2018-06-13 00:20:55 +00:00
|
|
|
|
2023-10-28 14:24:16 +02:00
|
|
|
{% block title %}{{ SITENAME|striptags }} - {{ article.title|striptags }}{% endblock %}
|
2018-06-13 00:20:55 +00:00
|
|
|
|
2013-08-21 22:58:50 -04:00
|
|
|
{% block head %}
|
2013-10-10 14:29:42 +13:00
|
|
|
{{ super() }}
|
2018-07-05 00:26:50 +02:00
|
|
|
|
|
|
|
|
{% import 'translations.html' as translations with context %}
|
|
|
|
|
{% if translations.entry_hreflang(article) %}
|
|
|
|
|
{{ translations.entry_hreflang(article) }}
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
2015-08-11 20:03:43 +01:00
|
|
|
{% if article.description %}
|
|
|
|
|
<meta name="description" content="{{article.description}}" />
|
|
|
|
|
{% endif %}
|
2013-08-24 23:36:07 -04:00
|
|
|
|
|
|
|
|
{% for tag in article.tags %}
|
2015-04-08 03:32:48 +02:00
|
|
|
<meta name="tags" content="{{tag}}" />
|
2013-08-24 23:36:07 -04:00
|
|
|
{% endfor %}
|
|
|
|
|
|
2013-08-21 22:58:50 -04:00
|
|
|
{% endblock %}
|
|
|
|
|
|
2012-05-07 12:26:17 +02:00
|
|
|
{% block content %}
|
2023-11-11 14:10:08 +01:00
|
|
|
<article>
|
2012-05-07 12:26:17 +02:00
|
|
|
<header>
|
2023-11-11 14:10:08 +01:00
|
|
|
<h2>
|
2013-03-21 11:28:06 +00:00
|
|
|
<a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark"
|
2023-11-11 14:10:08 +01:00
|
|
|
title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2>
|
2012-11-21 14:41:09 +02:00
|
|
|
{% import 'translations.html' as translations with context %}
|
|
|
|
|
{{ translations.translations_for(article) }}
|
2012-05-07 12:26:17 +02:00
|
|
|
</header>
|
2023-11-11 14:10:08 +01:00
|
|
|
{{ article.content }}
|
|
|
|
|
<footer>
|
|
|
|
|
<p>Published: <time datetime="{{ article.date.isoformat() }}">
|
2012-05-07 12:26:17 +02:00
|
|
|
{{ article.locale_date }}
|
2023-11-11 14:10:08 +01:00
|
|
|
</time></p>
|
2018-06-13 00:20:55 +00:00
|
|
|
{% if article.modified %}
|
2023-11-11 14:10:08 +01:00
|
|
|
<p>Last updated: <time datetime="{{ article.modified.isoformat() }}">
|
2013-11-05 19:38:58 +01:00
|
|
|
{{ article.locale_modified }}
|
2023-11-11 14:10:08 +01:00
|
|
|
</time></p>
|
2018-06-13 00:20:55 +00:00
|
|
|
{% endif %}
|
2013-07-05 01:08:45 +02:00
|
|
|
{% if article.authors %}
|
2023-11-11 14:10:08 +01:00
|
|
|
<address>
|
2013-07-05 01:08:45 +02:00
|
|
|
By {% for author in article.authors %}
|
2023-11-11 14:10:08 +01:00
|
|
|
<a href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a>
|
2013-07-05 01:08:45 +02:00
|
|
|
{% endfor %}
|
2012-05-07 12:26:17 +02:00
|
|
|
</address>
|
2018-07-05 15:18:28 -04:00
|
|
|
{% endif %}
|
2018-06-13 00:20:55 +00:00
|
|
|
{% if article.category %}
|
2023-11-11 14:10:08 +01:00
|
|
|
<p>
|
2018-06-13 00:20:55 +00:00
|
|
|
Category: <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>
|
2023-11-11 14:10:08 +01:00
|
|
|
</p>
|
2018-06-13 00:20:55 +00:00
|
|
|
{% endif %}
|
|
|
|
|
{% if article.tags %}
|
2023-11-11 14:10:08 +01:00
|
|
|
<p>
|
2018-06-13 00:20:55 +00:00
|
|
|
Tags:
|
|
|
|
|
{% for tag in article.tags %}
|
|
|
|
|
<a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a>
|
|
|
|
|
{% endfor %}
|
2023-11-11 14:10:08 +01:00
|
|
|
</p>
|
2018-06-13 00:20:55 +00:00
|
|
|
{% endif %}
|
2023-11-11 14:10:08 +01:00
|
|
|
</footer>
|
2022-01-17 16:11:06 +08:00
|
|
|
</article>
|
2010-08-17 20:28:51 +02:00
|
|
|
{% endblock %}
|