summaryrefslogtreecommitdiff
path: root/theme/cccevents/templates/article.html
diff options
context:
space:
mode:
authorHans-Peter Oeri <hp@oeri.ch>2018-10-25 11:32:42 +0000
committerHans-Peter Oeri <hp@oeri.ch>2018-10-25 11:32:42 +0000
commitff89112e87a34156fd0d4a10a10fd43b6f525cbd (patch)
tree7bf3bcf334051dbf2f8d96981b8d199470064eac /theme/cccevents/templates/article.html
parent17a536b7ffba296f1fc71337ce8aa2910f5ed3fc (diff)
parentc8cfe63aac73a92ae02354a5306ca5480808daff (diff)
Merge branch 'redohp' into 'master'
re-do site in schiedsstelle layout See merge request KampfCaspar/help.ccc.de!1
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 %}