From c8cfe63aac73a92ae02354a5306ca5480808daff Mon Sep 17 00:00:00 2001 From: Hans-Peter Oeri Date: Thu, 25 Oct 2018 13:27:51 +0200 Subject: re-do site in schiedsstelle layout --- theme/cccevents/templates/article.html | 40 ++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 theme/cccevents/templates/article.html (limited to 'theme/cccevents/templates/article.html') 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 @@ +{% extends "base.html" %} +{% block head %} + {{ super() }} + {% for keyword in article.keywords %} + + {% endfor %} + {% for description in article.description %} + + {% endfor %} + {% for tag in article.tags %} + + {% endfor %} +{% endblock %} +{% block translation %} +{% import 'translations.html' as translations with context %} +{{ translations.translations_for(article) }} +{% endblock %} + +{% block content_title %} +

{{ article.title }}

+{% endblock %} + +{% block content %} + +{% if category == "pressreview" %} +
+
Publiziert von:
+
{{ article.publisher }}
+
Publiziert am:
+
{{ article.date.strftime('%-d. %B %Y') }}
+
URL:
+
{{ article.ext_url|urlize(128, true) }}
+
+{% else %} + {{ article.content }} +{% endif %} + +
+
+{% endblock %} -- cgit v1.2.3