Changeset - 88474ec876ed
[Not reviewed]
0 3 0
Brett Smith (brett) - 7 years ago 2016-11-17 14:53:50
brett@sfconservancy.org
blog: Display tags with dateline.

This hopefully makes it a little clearer which entry the tags apply to.
3 files changed with 9 insertions and 6 deletions:
0 comments (0 inline, 0 general)
www/conservancy/templates/blog/entry_archive_day.html
Show inline comments
...
 
@@ -12,4 +12,5 @@
 
    <p><span class="continued"><a href="{{ object.get_absolute_url }}">Read More...</a></span></p>
 
    <p class="date small">Posted by <strong>{{ object.author.formal_name }}</strong> on {{ object.pub_date|date:"F j, Y" }}</p>
 
    {% if object.tags.all %}<p class="blog-tags small">Tags: {% for tag in object.tags.all %}<a href="{{ tag.get_absolute_url }}">{{ tag.label }}</a>{% if not forloop.last %}, {% endif %}{% endfor %}</p>{% endif %}
 
    <p class="date small">Posted by <strong>{{ object.author.formal_name }}</strong> on {{ object.pub_date|date:"F j, Y" }}
 
    {% if object.tags.all %}<span class="blog-tags">/ Tags: {% for tag in object.tags.all %}<a href="{{ tag.get_absolute_url }}">{{ tag.label }}</a>{% if not forloop.last %}, {% endif %}{% endfor %}</span>{% endif %}
 
    </p>
 
{% endfor %}
www/conservancy/templates/blog/entry_archive_month.html
Show inline comments
...
 
@@ -12,4 +12,5 @@
 
    <p><span class="continued"><a href="{{ object.get_absolute_url }}">Read More...</a></span></p>
 
    <p class="date small">Posted by <strong>{{ object.author.formal_name }}</strong> on {{ object.pub_date|date:"F j, Y" }}</p>
 
    {% if object.tags.all %}<p class="blog-tags small">Tags: {% for tag in object.tags.all %}<a href="{{ tag.get_absolute_url }}">{{ tag.label }}</a>{% if not forloop.last %}, {% endif %}{% endfor %}</p>{% endif %}
 
    <p class="date small">Posted by <strong>{{ object.author.formal_name }}</strong> on {{ object.pub_date|date:"F j, Y" }}
 
    {% if object.tags.all %}<span class="blog-tags">/ Tags: {% for tag in object.tags.all %}<a href="{{ tag.get_absolute_url }}">{{ tag.label }}</a>{% if not forloop.last %}, {% endif %}{% endfor %}</span>{% endif %}
 
    </p>
 
{% endfor %}
www/conservancy/templates/blog/entry_list.html
Show inline comments
...
 
@@ -17,4 +17,5 @@
 
        {{ entry.body|safe }}
 
    <p class="date small">Posted by <strong>{{ entry.author.formal_name}}</strong> on {{ entry.pub_date|date:"F j, Y" }}</p>
 
    {% if entry.tags.all %}<p class="blog-tags small">Tags: {% for tag in entry.tags.all %}<a href="{{ tag.get_absolute_url }}">{{ tag.label }}</a>{% if not forloop.last %}, {% endif %}{% endfor %}</p>{% endif %}
 
    <p class="date small">Posted by <strong>{{ entry.author.formal_name }}</strong> on {{ entry.pub_date|date:"F j, Y" }}
 
    {% if entry.tags.all %}<span class="blog-tags">/ Tags: {% for tag in entry.tags.all %}<a href="{{ tag.get_absolute_url }}">{{ tag.label }}</a>{% if not forloop.last %}, {% endif %}{% endfor %}</span>{% endif %}
 
    </p>
 
{% endfor %}
0 comments (0 inline, 0 general)