blog: Display tags with dateline.
This hopefully makes it a little clearer which entry the tags apply to.
This commit is contained in:
		
							parent
							
								
									c7a8375002
								
							
						
					
					
						commit
						88474ec876
					
				
					 3 changed files with 9 additions and 6 deletions
				
			
		|  | @ -10,8 +10,9 @@ | |||
|     <h3><a href="{{ object.get_absolute_url }}">{{ object.headline|safe }}</a></h3> | ||||
|         {{ object.summary|safe }} | ||||
|     <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 %} | ||||
| 
 | ||||
| {% endblock %} | ||||
|  |  | |||
|  | @ -10,8 +10,9 @@ | |||
|     <h3><a href="{{ object.get_absolute_url }}">{{ object.headline|safe }}</a></h3> | ||||
|         {{ object.summary|safe }} | ||||
|     <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 %} | ||||
| 
 | ||||
| {% endblock %} | ||||
|  |  | |||
|  | @ -15,8 +15,9 @@ | |||
| {% for entry in blog_entries %} | ||||
|     <h3><a href="{{ entry.get_absolute_url }}">{{ entry.headline|safe }}</a></h3> | ||||
|         {{ 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 %} | ||||
| 
 | ||||
| <p> | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Brett Smith
						Brett Smith