The template was hardcoded for the default reversed date ordering of
articles.
{% if DEFAULT_PAGINATION %}
<div class="m-article-pagination">
- {%- if articles_page.has_previous() %}<a href="{{ articles_previous_page.url|format_siteurl|e }}">« newer articles</a> | {% endif -%}
+ {%- if articles_page.has_previous() %}<a href="{{ articles_previous_page.url|format_siteurl|e }}">« {% if ARTICLE_ORDER_BY == "date" %}older{% else %}newer{% endif %} articles</a> | {% endif -%}
page {{ articles_page.number }}
- {%- if articles_page.has_next() %} | <a href="{{ articles_next_page.url|format_siteurl|e }}">older articles »</a>{% endif -%}
+ {%- if articles_page.has_next() %} | <a href="{{ articles_next_page.url|format_siteurl|e }}">{% if ARTICLE_ORDER_BY == "date" %}newer{% else %}older{% endif %} articles »</a>{% endif -%}
</div>
{% endif %}