Changeset - 880a3d766036
[Not reviewed]
0 1 0
Bradley Kuhn (bkuhn) - 6 years ago 2015-12-18 20:08:43
bkuhn@ebb.org
Whoops! You have to use summary for the right one.
1 file changed with 4 insertions and 4 deletions:
0 comments (0 inline, 0 general)
www/conservancy/templates/frontpage.html
Show inline comments
...
 
@@ -103,43 +103,43 @@
 
{% endif %}
 
{% if blog.2.is_recent %}
 
{% if blog.2.pub_date|date_within_past_days:20 %}
 
<hr/>
 
<h3><a href="{{ blog.2.get_absolute_url }}">{{ blog.2.headline|safe }}</a></h3>
 
<p class="date">Posted by {{ blog.2.author.formal_name }} on {{ blog.2.pub_date|date:"F j, Y" }}</p>
 
{{ blog.1.summary|safe }}
 
{{ blog.2.summary|safe }}
 
<p><span class="continued"><a href="{{ blog.2.get_absolute_url }}">Read More from {{ blog.2.author.casual_name }} on this&hellip;</a></span></p>
 
{% endif %}
 
{% endif %}
 

	
 
{% if blog.3.is_recent %}
 
{% if blog.3.pub_date|date_within_past_days:15 %}
 
<hr/>
 
<h3><a href="{{ blog.3.get_absolute_url }}">{{ blog.3.headline|safe }}</a></h3>
 
<p class="date">Posted by {{ blog.3.author.formal_name }} on {{ blog.3.pub_date|date:"F j, Y" }}</p>
 
{{ blog.1.summary|safe }}
 
{{ blog.3.summary|safe }}
 
<p><span class="continued"><a href="{{ blog.3.get_absolute_url }}">Read More from {{ blog.3.author.casual_name }} on this&hellip;</a></span></p>
 
{% endif %}
 
{% endif %}
 

	
 
{% if blog.4.is_recent %}
 
{% if blog.4.pub_date|date_within_past_days:10 %}
 
<hr/>
 
<h3><a href="{{ blog.4.get_absolute_url }}">{{ blog.4.headline|safe }}</a></h3>
 
<p class="date">Posted by {{ blog.4.author.formal_name }} on {{ blog.4.pub_date|date:"F j, Y" }}</p>
 
{{ blog.1.summary|safe }}
 
{{ blog.4.summary|safe }}
 
<p><span class="continued"><a href="{{ blog.4.get_absolute_url }}">Read More from {{ blog.4.author.casual_name }} on this&hellip;</a></span></p>
 
{% endif %}
 
{% endif %}
 

	
 
{% if blog.5.is_recent %}
 
{% if blog.5.pub_date|date_within_past_days:7 %}
 
<hr/>
 
<h3><a href="{{ blog.5.get_absolute_url }}">{{ blog.5.headline|safe }}</a></h3>
 
<p class="date">Posted by {{ blog.5.author.formal_name }} on {{ blog.5.pub_date|date:"F j, Y" }}</p>
 
{{ blog.1.summary|safe }}
 
{{ blog.5.summary|safe }}
 
<p><span class="continued"><a href="{{ blog.5.get_absolute_url }}">Read More from {{ blog.5.author.casual_name }} on this&hellip;</a></span></p>
 
{% endif %}
 
{% endif %}
 

	
 
</div>
 
{% endif %}
0 comments (0 inline, 0 general)