From 88474ec876ed445cf3b77ff84cebddbb445c5457 Mon Sep 17 00:00:00 2001 From: Brett Smith Date: Thu, 17 Nov 2016 09:53:50 -0500 Subject: [PATCH] blog: Display tags with dateline. This hopefully makes it a little clearer which entry the tags apply to. --- www/conservancy/templates/blog/entry_archive_day.html | 5 +++-- www/conservancy/templates/blog/entry_archive_month.html | 5 +++-- www/conservancy/templates/blog/entry_list.html | 5 +++-- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/www/conservancy/templates/blog/entry_archive_day.html b/www/conservancy/templates/blog/entry_archive_day.html index b0f76975..3a2b0ef3 100644 --- a/www/conservancy/templates/blog/entry_archive_day.html +++ b/www/conservancy/templates/blog/entry_archive_day.html @@ -10,8 +10,9 @@

{{ object.headline|safe }}

{{ object.summary|safe }}

Read More...

-

Posted by {{ object.author.formal_name }} on {{ object.pub_date|date:"F j, Y" }}

- {% if object.tags.all %}

Tags: {% for tag in object.tags.all %}{{ tag.label }}{% if not forloop.last %}, {% endif %}{% endfor %}

{% endif %} +

Posted by {{ object.author.formal_name }} on {{ object.pub_date|date:"F j, Y" }} + {% if object.tags.all %}/ Tags: {% for tag in object.tags.all %}{{ tag.label }}{% if not forloop.last %}, {% endif %}{% endfor %}{% endif %} +

{% endfor %} {% endblock %} diff --git a/www/conservancy/templates/blog/entry_archive_month.html b/www/conservancy/templates/blog/entry_archive_month.html index f130f685..db40d377 100644 --- a/www/conservancy/templates/blog/entry_archive_month.html +++ b/www/conservancy/templates/blog/entry_archive_month.html @@ -10,8 +10,9 @@

{{ object.headline|safe }}

{{ object.summary|safe }}

Read More...

-

Posted by {{ object.author.formal_name }} on {{ object.pub_date|date:"F j, Y" }}

- {% if object.tags.all %}

Tags: {% for tag in object.tags.all %}{{ tag.label }}{% if not forloop.last %}, {% endif %}{% endfor %}

{% endif %} +

Posted by {{ object.author.formal_name }} on {{ object.pub_date|date:"F j, Y" }} + {% if object.tags.all %}/ Tags: {% for tag in object.tags.all %}{{ tag.label }}{% if not forloop.last %}, {% endif %}{% endfor %}{% endif %} +

{% endfor %} {% endblock %} diff --git a/www/conservancy/templates/blog/entry_list.html b/www/conservancy/templates/blog/entry_list.html index e37d28da..2d6c566b 100644 --- a/www/conservancy/templates/blog/entry_list.html +++ b/www/conservancy/templates/blog/entry_list.html @@ -15,8 +15,9 @@ {% for entry in blog_entries %}

{{ entry.headline|safe }}

{{ entry.body|safe }} -

Posted by {{ entry.author.formal_name}} on {{ entry.pub_date|date:"F j, Y" }}

- {% if entry.tags.all %}

Tags: {% for tag in entry.tags.all %}{{ tag.label }}{% if not forloop.last %}, {% endif %}{% endfor %}

{% endif %} +

Posted by {{ entry.author.formal_name }} on {{ entry.pub_date|date:"F j, Y" }} + {% if entry.tags.all %}/ Tags: {% for tag in entry.tags.all %}{{ tag.label }}{% if not forloop.last %}, {% endif %}{% endfor %}{% endif %} +

{% endfor %}