Still too many blog posts on the front page.

This commit is contained in:
Bradley M. Kuhn 2021-03-25 12:33:42 -07:00
parent 4da324d74a
commit 6b01e47753

View file

@ -39,7 +39,7 @@
<div class="column">
<h2><a href="/feeds/blog/" class="feedlink"><img src="/img/feed-icon-14x14.png" alt="[RSS]"/></a> <a href="/blog/">Conservancy Blog</a></h2>
{% for entry in blog|slice:":5" %}
{% if forloop.first or entry.pub_date|date_within_past_days:65 %}
{% if forloop.first or entry.pub_date|date_within_past_days:55 %}
{% if not forloop.first %}<hr class="clear">{% endif %}
{% include "blog/entry_partial.html" with entry=entry show="summary" only %}
{% endif %}