Changeset - f3548d51a0a1
[Not reviewed]
0 1 0
Bradley Kuhn (bkuhn) - 7 years ago 2014-03-31 22:39:35
bkuhn@ebb.org
Rework how blog authors appear.
1 file changed with 9 insertions and 5 deletions:
0 comments (0 inline, 0 general)
www/conservancy/templates/frontpage.html
Show inline comments
...
 
@@ -89,19 +89,23 @@
 
{% if blog.0.is_recent %}
 
<h2><a href="/feeds/blog/" class="feedlink"><img src="/img/feed-icon-14x14.png" alt="[RSS]"/></a> <a href="/blog/">Conservancy Blog</a></h2>
 
<div class="shaded">
 
<p class="date">{{ blog.0.pub_date|date:"F j, Y" }}</p>
 
<h3><a href="{{ blog.0.get_absolute_url }}">{{ blog.0.headline|safe }}</a></h3>
 
<p class="date">Posted by {{ blog.0.author.formal_name }}<br/>
 
on {{ blog.0.pub_date|date:"F j, Y" }}</p>
 
{{ blog.0.summary|safe }}
 
<p><span class="continued"><a href="{{ blog.0.get_absolute_url }}">Read More...</a></span></p>
 
<p class="small date">Posted by {{ blog.0.author.formal_name }}</p>
 
<p><span class="continued"><a href="{{ blog.0.get_absolute_url }}">Read More
 
      from {{ blog.0.author.causal_name }} on this&hellip;</a></span></p>
 

	
 
{% endif %}
 
{% if blog.1.is_recent %}
 
<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>
 
<p class="date">Posted by {{ blog.1.author.formal_name }}<br/>
 
on {{ blog.1.pub_date|date:"F j, Y" }}</p>
 
{{ 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><span class="continued"><a href="{{ blog.0.get_absolute_url }}">Read More
 
      from {{ blog.1.author.casual_name }} on this&hellip;</a></span></p>
 
{% endif %}
 
</div>
 
<p><span class="continued"><a href="/blog/">Conservancy Blog Archive&hellip;</a></span></p>
0 comments (0 inline, 0 general)