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/news.html | 40 +++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 theme/cccevents/templates/news.html (limited to 'theme/cccevents/templates/news.html') diff --git a/theme/cccevents/templates/news.html b/theme/cccevents/templates/news.html new file mode 100644 index 0000000..999333a --- /dev/null +++ b/theme/cccevents/templates/news.html @@ -0,0 +1,40 @@ +{% extends "base.html" %} + +{% block title %}{{ SITENAME }} - {{ page.title }}{%endblock%} + +{% block translation %} +{% import 'translations.html' as translations with context %} +{{ translations.translations_for(page) }} +{% endblock %} + +{% block content_title %} +

{{ page.title }}

+{% endblock %} + +{% block content %} +{% if articles %} + {% for article in dates %} +
+

{{ article.title }}

+ +
+ {{ article.summary }} + read more +
+
+ {% endfor %} +{% else %} +
+
+

Pages

+
+
+ +
+
+{% endif %} +{% endblock %} -- cgit v1.2.3