From c9f753afece5ba93e236c448158b90d788746369 Mon Sep 17 00:00:00 2001 From: Benjamin Kiessling Date: Fri, 27 Jan 2012 03:14:11 +0100 Subject: Update default theme to use swig --- slideshows/default/template.html | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) (limited to 'slideshows') diff --git a/slideshows/default/template.html b/slideshows/default/template.html index a37b369..f814317 100644 --- a/slideshows/default/template.html +++ b/slideshows/default/template.html @@ -12,11 +12,28 @@
    - $IMAGES + {% for slide in slides %} +
  • + {% if slide.image %}{% endif %} + {% if slide.description %}
    {{slide.description}}
    {% if slide.text %}
    {{slide.text}}
    {% endif %}
    {% endif %} + {% if slide.image %}{% endif %} +
  • + {% endfor %}
- $EVENTS + {% for date in events %} +
{{date.date}}
+ {% if date.events %}
    {% endif %} + {% for event in date.events %} +
  • + {% if event.start %}
    {{event.start}}
    {% endif %} + {% if event.summary %}
    {{event.summary}}
    {% endif %} +
  • + {% endfor %} +
+
+ {% endfor %}
-- cgit v1.2.1