From 6bc4d5a6a234c6ff2b5ae92b43408424b0fca61d Mon Sep 17 00:00:00 2001 From: rscnt Date: Sat, 26 Sep 2015 13:04:48 -0600 Subject: [PATCH] digitalglarus: blog_item, added style. Signed-off-by: rscnt --- .../glarus_blog/includes/blog_item.html | 50 +++++++++++-------- 1 file changed, 30 insertions(+), 20 deletions(-) diff --git a/digitalglarus/templates/glarus_blog/includes/blog_item.html b/digitalglarus/templates/glarus_blog/includes/blog_item.html index 7340962f..4565a4e7 100644 --- a/digitalglarus/templates/glarus_blog/includes/blog_item.html +++ b/digitalglarus/templates/glarus_blog/includes/blog_item.html @@ -1,22 +1,32 @@ {% load i18n thumbnail %} -
-
-

{{ post.title }}

- {% block blog_meta %} - {% include "glarus_blog/includes/blog_meta.html" %} - {% endblock %} -
- {% if image and post.main_image %} -
- {% thumbnail post.main_image post.thumbnail_options.size crop=post.thumbnail_options.crop upscale=post.thumbnail_options.upscale subject_location=post.main_image.subject_location as thumb %} - {{ post.main_image.default_alt_text }} -
- {% endif %} -
- {{ post.abstract| safe }} -
- -
\ No newline at end of file +
+ {% if image and post.main_image %} +
+ {% thumbnail post.main_image post.full_image_options.size crop=post.full_image_options.crop upscale=post.full_image_options.upscale subject_location=post.main_image.subject_location as thumb %} + {{ post.main_image.default_alt_text }} +
+ {% endif %} +
+ {% block blog_meta %} + {# include "glarus_blog/includes/blog_meta.html" #} + {% endblock %} +

+ + {{ post.title }} + +
+ + {{ post.date_created }} + +

+
+
+

+ {{ post.abstract| safe }} +

+
+ +