From 6c75aa824d75e0cbed5426805cf3a35c889f79d9 Mon Sep 17 00:00:00 2001 From: Martin Michlmayr Date: Tue, 15 Jul 2014 18:30:25 -0400 Subject: [PATCH] Use same logic for blogs as for news Put the code for blog.1 within the if block of blog.0, as this is the logic used for news. As a result, the
divider for blogs is now in the "shaded" element (as it already is with news). --- www/conservancy/templates/frontpage.html | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/www/conservancy/templates/frontpage.html b/www/conservancy/templates/frontpage.html index f640c7cc..b0f18e37 100644 --- a/www/conservancy/templates/frontpage.html +++ b/www/conservancy/templates/frontpage.html @@ -95,11 +95,7 @@ on {{ blog.0.pub_date|date:"F j, Y" }}

{{ blog.0.summary|safe }}

Read More from {{ blog.0.author.casual_name }} on this…

- -{% endif %} - {% if blog.1.is_recent %} -

{{ blog.1.headline|safe }}

Posted by {{ blog.1.author.formal_name }} @@ -107,6 +103,7 @@ on {{ blog.1.pub_date|date:"F j, Y" }}

{{ blog.1.summary|safe }}

Read More from {{ blog.1.author.casual_name }} on this…

+{% endif %}
{% endif %}

Conservancy Blog Archive…