From f6494c6adb760a58cad0a4dbd18e3608b6d2a5bd Mon Sep 17 00:00:00 2001 From: root Date: Mon, 18 Dec 2017 15:03:10 +0000 Subject: [PATCH] formating --- content/templates/events.html | 7 ++++++- content/templates/preview.html | 10 +++++----- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/content/templates/events.html b/content/templates/events.html index b595896..2d2c367 100644 --- a/content/templates/events.html +++ b/content/templates/events.html @@ -39,7 +39,12 @@
{{ events.title }} - +

{{ events.formatted_teaser }}

diff --git a/content/templates/preview.html b/content/templates/preview.html index 35d18a1..6e95736 100644 --- a/content/templates/preview.html +++ b/content/templates/preview.html @@ -5,15 +5,15 @@ {% endif %}
-
{{content.title}}
+ {{content.title}} + {% if content.type.name == 'events' %} -

{{ content.formatted_teaser }}

+ + {% endif %} +

{{ content.formatted_teaser }}