From eb1d4b04a58bb1afc247dcc49211702827683969 Mon Sep 17 00:00:00 2001 From: rscnt Date: Sat, 26 Sep 2015 16:03:09 -0600 Subject: [PATCH] digitalglarus: changed style of posts. Signed-off-by: rscnt --- .../glarus_blog/includes/blog_item.html | 19 ++++++++++--------- .../templates/glarus_blog/post_detail.html | 9 +++++---- .../templates/glarus_blog/post_list.html | 5 ----- 3 files changed, 15 insertions(+), 18 deletions(-) diff --git a/digitalglarus/templates/glarus_blog/includes/blog_item.html b/digitalglarus/templates/glarus_blog/includes/blog_item.html index 6dea248d..50a1582f 100644 --- a/digitalglarus/templates/glarus_blog/includes/blog_item.html +++ b/digitalglarus/templates/glarus_blog/includes/blog_item.html @@ -8,26 +8,27 @@ {% endif %}
- {% block blog_meta %} - {# include "glarus_blog/includes/blog_meta.html" #} - {% endblock %} -

- +
+

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

+
+ {% block blog_meta %} + {% include "glarus_blog/includes/blog_meta.html" %} + {% endblock %}

-
+

{{ post.abstract| safe }}

- +

diff --git a/digitalglarus/templates/glarus_blog/post_detail.html b/digitalglarus/templates/glarus_blog/post_detail.html index ae69dc5b..0e378266 100644 --- a/digitalglarus/templates/glarus_blog/post_detail.html +++ b/digitalglarus/templates/glarus_blog/post_detail.html @@ -15,20 +15,21 @@ {% endif %}
-

- +
+

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

+
{% block blog_meta %} {% include "glarus_blog/includes/blog_meta.html" %} {% endblock %}

{% endspaceless %} -
{% render_placeholder post.content %}
+
{% render_placeholder post.content %}
{% endblock content_blog %} diff --git a/digitalglarus/templates/glarus_blog/post_list.html b/digitalglarus/templates/glarus_blog/post_list.html index a55a82a5..a05ae060 100644 --- a/digitalglarus/templates/glarus_blog/post_list.html +++ b/digitalglarus/templates/glarus_blog/post_list.html @@ -7,11 +7,6 @@
{% block blog_title %}
-
-

- Digital Glarus Blog -

-
{% endblock %} {% for post in post_list %}