Changeset - 6a6afd3ba220
[Not reviewed]
0 1 0
Bradley Kuhn (bkuhn) - 6 years ago 2017-12-31 21:19:05
bkuhn@ebb.org
Increase number of days we keep things on front.
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
www/conservancy/templates/frontpage.html
Show inline comments
...
 
@@ -29,3 +29,3 @@
 
{% for pressr in press_releases|slice:":5" %}
 
  {% if forloop.first or pressr.pub_date|date_within_past_days:30 %}
 
  {% if forloop.first or pressr.pub_date|date_within_past_days:90 %}
 
    {% if not forloop.first %}<hr class="clear">{% endif %}
...
 
@@ -41,3 +41,3 @@
 
{% for entry in blog|slice:":5" %}
 
  {% if forloop.first or entry.pub_date|date_within_past_days:30 %}
 
  {% if forloop.first or entry.pub_date|date_within_past_days:45 %}
 
    {% if not forloop.first %}<hr class="clear">{% endif %}
0 comments (0 inline, 0 general)