From e43e41caf5048ff4b76aadf918d588a521ad8c60 Mon Sep 17 00:00:00 2001 From: ccl Date: Fri, 17 Apr 2020 00:53:00 +0200 Subject: [PATCH] second attempt to get the stream section to work --- themes/varia/templates/stream.html | 45 ++++++++++++++++-------------- 1 file changed, 24 insertions(+), 21 deletions(-) diff --git a/themes/varia/templates/stream.html b/themes/varia/templates/stream.html index b3b73f91..7aafa872 100644 --- a/themes/varia/templates/stream.html +++ b/themes/varia/templates/stream.html @@ -1,25 +1,28 @@ -{% extends "page.html" %} - -{% if page.slug == 'stream' %} +{% extends "base.html" %} +{% block title %}{{ page.title }}{%endblock%} {% block content %} -
- - {{ pages }} - -
streaming...
- - {% for page in pages %} - {% if page.slug == 'stream' %} -
- {% for img in page.stream %} -
- {% endfor %} -
- {% endif %} - {% endfor %} -
-{% endblock %} +
+ {{ page.content }} -{% endif %} + {% if page.modified %} +

+ Last updated: {{ page.locale_modified }} +

+ {% endif %} + + + {% for page in pages %} + {% if page.slug == 'stream' %} +
+ {% for img in page.stream %} +
+ {% endfor %} +
+ {% endif %} + {% endfor %} + +
+ +{% endblock %}