varia.website/themes/cetcat/templates/article.html
2017-11-24 18:34:04 +01:00

53 lines
1.4 KiB
HTML

{% 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">
{{ article.title }}
</div>
<div class="event-details">
{% if article.start %}
{{ article.start }}
{% endif %}
</div>
</div>
<div class="entry-content">
{{ article.content }}
<div class="separator"><hr></div>
</div><!-- /.entry-content -->
<div class="post-info">
{% if article.category %}
<div class="categories">
<span itemprop="articleSection">
<a href="{{ SITEURL }}/{{ article.category.url }}" rel="category">{{ article.category }}</a>
</span>
</div>
{% endif %}
{% if article.translations %}
<div id="article-translation">
{% for translation in article.translations %}
<a href="{{ SITEURL }}/{{ translation.url }}">{{ translation.lang }}</a>
{% endfor %}
</div>
{% endif %}
</div>
</section>
{% endblock %}