diff --git a/templates/index.html b/templates/index.html index 172371d..a669866 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,108 +1,124 @@ - - {{ title }} - - - {% block scripts %} - {% endblock scripts %} + + {{ title }} + + + {% block scripts %} + {% endblock scripts %} {% set padoftheday = pads | random %} +

{{ title }}

+
- Welcome! The pages below have been deliberately published by their authors in order to share their thoughts, research and process in an early form. This page represents one of Varia's low-effort publishing tools. The pages are all produced through Varia's Etherpad instance. -
-
- Etherpad is used as collaborative writing tool to take notes, create readers, coordinate projects and document gatherings that happen in and around Varia. For example {{ padoftheday.padid }}. -
-
- This index is updated every 60 minutes. + Welcome! The pages below have been deliberately published by their authors in + order to share their thoughts, research and process in an early form. This + page represents one of Varia's low-effort publishing tools. The pages are all + produced through Varia's Etherpad instance. +
+
+ Etherpad is used as collaborative writing tool to take notes, create readers, + coordinate projects and document gatherings that happen in and around Varia. + For example {{ padoftheday.padid }}. +
+
+ This index is updated every 60 minutes.
+ - - - - - + + + + + + {% set allmagicwords = [] %} + {% for pad in pads %} - - - - - - - + + + + + + + + + {% endfor %} +
nameversionsnameversions
- {{ pad.padid }} - - {% for v in pad.versions %}{{ v.type }} {% endfor %} - - {% for magicword in pad.magicwords %} - {{ magicword }} - {% if magicword %} -
{{ allmagicwords.append(magicword) }}
- {% endif %} - {% endfor %} -
+ {{ pad.padid }} + + {% for v in pad.versions %}{{ v.type }} {% endfor %} + + {% for magicword in pad.magicwords %} + {{ magicword }} + {% if magicword %} +
{{ allmagicwords.append(magicword) }}
+ {% endif %} + {% endfor %} +
-
- {% for magicword in allmagicwords | unique %} - {% if magicword != "__PUBLISH__" %} -
-

{{ magicword }}

- - - - - - - - - {% for pad in pads %} - {% if magicword in pad.magicwords %} - - - - - - - {% endif %} - {% endfor %} - -
nameversions
- {{ pad.padid }} - - {% for v in pad.versions %}{{ v.type }} {% endfor %} - - {% for magicword in pad.magicwords %} - {{ magicword }} - {% endfor %} -
-
- {% endif %} - {% endfor %} + {% for magicword in allmagicwords | unique %} + {% if magicword != "__PUBLISH__" %} +
+

{{ magicword }}

+ + + + + + + + + {% for pad in pads %} + {% if magicword in pad.magicwords %} + + + + + + + {% endif %} + {% endfor %} + +
nameversions
+ {{ pad.padid }} + + {% for v in pad.versions %}{{ v.type }} {% endfor %} + + {% for magicword in pad.magicwords %} + {{ magicword }} + {% endfor %} +
+
+ {% endif %} + {% endfor %}