summaryrefslogtreecommitdiff
path: root/theme/cccevents/templates/article.html
diff options
context:
space:
mode:
Diffstat (limited to 'theme/cccevents/templates/article.html')
-rw-r--r--theme/cccevents/templates/article.html40
1 files changed, 40 insertions, 0 deletions
diff --git a/theme/cccevents/templates/article.html b/theme/cccevents/templates/article.html
new file mode 100644
index 0000000..581f960
--- /dev/null
+++ b/theme/cccevents/templates/article.html
@@ -0,0 +1,40 @@
1{% extends "base.html" %}
2{% block head %}
3 {{ super() }}
4 {% for keyword in article.keywords %}
5 <meta name="keywords" contents="{{ keyword }}" />
6 {% endfor %}
7 {% for description in article.description %}
8 <meta name="description" contents="{{ description }}" />
9 {% endfor %}
10 {% for tag in article.tags %}
11 <meta name="tags" contents="{{ tag }}" />
12 {% endfor %}
13{% endblock %}
14{% block translation %}
15{% import 'translations.html' as translations with context %}
16{{ translations.translations_for(article) }}
17{% endblock %}
18
19{% block content_title %}
20 <h1><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h1>
21{% endblock %}
22
23{% block content %}
24
25{% if category == "pressreview" %}
26 <dl>
27 <dt>Publiziert von:</dt>
28 <dd>{{ article.publisher }}</dd>
29 <dt>Publiziert am:</dt>
30 <dd>{{ article.date.strftime('%-d. %B %Y') }}</dd>
31 <dt>URL:</dt>
32 <dd>{{ article.ext_url|urlize(128, true) }}</dd>
33 </dl>
34{% else %}
35 {{ article.content }}
36{% endif %}
37
38<hr />
39<div class="shariff" data-title="{{ SITENAME }} - {{ article.title }}" data-url="{{ SITEURL }}/{{ article.url }}" data-theme="grey"></div>
40{% endblock %}