From a481850e3eec7904b5a8e890c9127df6f345b14f Mon Sep 17 00:00:00 2001 From: schneefux Date: Sat, 4 Jun 2016 14:57:18 +0200 Subject: style jokes as collections --- templates/index.html | 78 ++++++++++++++++++++++++++-------------------------- 1 file changed, 39 insertions(+), 39 deletions(-) (limited to 'templates') diff --git a/templates/index.html b/templates/index.html index 40da1f9..beb3b2e 100644 --- a/templates/index.html +++ b/templates/index.html @@ -58,46 +58,46 @@ {% endwith %} -
- {% for joke in jokes %} -
-
-
-
- - - - -
-
- - - -
- {% if joke.mine %} -
- - - -
- {% endif %} +
    + {% for joke in jokes %} +
  • +
    +
    +
    + + + + +
    +
    + + + +
    + {% if joke.mine %} +
    + + + +
    + {% endif %} +
    -
-
- {{ joke.text|safe }} -
-
-
- {% endfor %} +
+ {{ joke.text|safe }} +
+ + {% endfor %} +