varia.website/themes/cetcat/templates/article.html

53 lines
1.5 KiB
HTML
Raw Normal View History

2017-09-12 14:56:24 +02:00
{% extends "base.html" %}
{% block head %}
{{ super() }}
{% if article.description %}
<meta name="description" content="{{article.description}}" />
{% endif %}
{% if article.tags or article.category or article.keywords %}
<meta name="keywords" content="{{ [article.tags|join(', '), article.category, article.keywords]|join(', ') }}" />
{% endif %}
{% endblock %}
<div class="file type_folder">
<a title="../" href="/log/" id="link0" class="type_folder"><img alt="../" src="/icons/back.png" class="type_folder"></a>
</br>
<span class="filename">../</span>
{% block content %}
<section id="content" class="body">
<div class="article-info">
<div class="entry-title">
2017-09-14 23:40:20 +02:00
{{ article.title }}
2017-09-12 14:56:24 +02:00
</div>
2017-11-03 13:49:21 +01:00
<div class="event-details">
{% if article.start %}
{{ article.start }}
{% endif %}
</div>
2017-09-12 14:56:24 +02:00
</div>
<div class="entry-content">
{{ article.content }}
2017-09-14 23:40:20 +02:00
<div class="separator"><hr></div>
2017-09-12 14:56:24 +02:00
</div><!-- /.entry-content -->
<div class="post-info">
2017-09-14 23:40:20 +02:00
{% if article.category %}
<div class="categories">
<span itemprop="articleSection">
<a href="{{ SITEURL }}/{{ article.category.url }}" rel="category">{{ article.category }}</a>
</span>
</div>
{% endif %}
2017-11-24 18:34:04 +01:00
{% if article.translations %}
<div id="article-translation">
{% for translation in article.translations %}
2017-11-28 19:37:21 +01:00
translation → <a href="{{ SITEURL }}/{{ translation.url }}">{{ translation.lang }}</a>
2017-11-24 18:34:04 +01:00
{% endfor %}
</div>
{% endif %}
</div>
2017-09-12 14:56:24 +02:00
</section>
{% endblock %}