manymanymany-varia-websites/themes/cetcat/templates/article.html

54 lines
1.7 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 }}
<!-- <a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a> -->
2017-09-12 14:56:24 +02:00
</div>
</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">
<time class="published" datetime="{{ article.date.isoformat() }}">
published on {{ article.locale_date }}
</time>
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 %} {% if article.tags %}
<div class="tags">
Tags: {% for tag in article.tags %}
<span itemprop="keywords">
<a href="{{ SITEURL }}/{{ tag.url }}" rel="tag">{{ tag }}</a>
</span> {% endfor %}
</div>
{% endif %}
2017-09-14 23:40:20 +02:00
<!-- {% import 'translations.html' as translations with context %} -->
<!-- {{ translations.translations_for(article) }} -->
</div>
2017-09-12 14:56:24 +02:00
</section>
{% endblock %}