Changeset - d24d3763b303
[Not reviewed]
0 1 0
Bradley Kuhn (bkuhn) - 7 years ago 2014-03-31 22:34:01
bkuhn@ebb.org
Improve template for blog when two appear.
1 file changed with 3 insertions and 2 deletions:
0 comments (0 inline, 0 general)
www/conservancy/templates/frontpage.html
Show inline comments
...
 
@@ -97,13 +97,14 @@
 
{% endif %}
 

	
 
{% if blog.1.is_recent %}
 
<div class="shaded">
 
<hr/>
 
<p class="date">{{ blog.1.pub_date|date:"F j, Y" }}</p>
 
<h3><a href="{{ blog.1.get_absolute_url }}">{{ blog.1.headline|safe }}</a></h3>
 
{{ blog.1.summary|safe }}
 
<p><span class="continued"><a href="{{ blog.1.get_absolute_url }}">Read More...</a></span></p>
 
<p class="small date">Posted by {{ blog.1.author.formal_name }}</p>
 
<p><a href="/blog/">Conservancy Blog Archive...</a></p>
 
<hr/>
 
<p><a href="/blog/">Conservancy Blog Archive&hellip;</a></p>
 
</div>
 
{% else %}
 
<p><span class="continued"><a href="/blog/">Conservancy Blog Archive&hellip;</a></span></p>
0 comments (0 inline, 0 general)