Limit recent pages to 18

This commit is contained in:
Rico Sta. Cruz 2017-09-01 05:07:02 +08:00
parent 27f47329d8
commit 59c9a51fbc
No known key found for this signature in database
GPG Key ID: CAAD38AE2962619A
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ type: website
</h2> </h2>
{% for page in recent_pages reversed %} {% for page in recent_pages reversed %}
{% if forloop.index < 20 %} {% if forloop.index <= 18 %}
{% include 2017/pages-list-item.html page=page class='article item' %} {% include 2017/pages-list-item.html page=page class='article item' %}
{% endif %} {% endif %}
{% endfor %} {% endfor %}