Update pagination for test_site posts
This commit is contained in:
parent
742987144c
commit
e99bdd07ac
|
@ -3,4 +3,5 @@ title = "Posts"
|
||||||
paginate_by = 2
|
paginate_by = 2
|
||||||
template = "section_paginated.html"
|
template = "section_paginated.html"
|
||||||
insert_anchor_links = "left"
|
insert_anchor_links = "left"
|
||||||
|
sort_by = "date"
|
||||||
+++
|
+++
|
||||||
|
|
|
@ -3,6 +3,6 @@
|
||||||
{% block content %}
|
{% block content %}
|
||||||
{{ page.content | safe }}
|
{{ page.content | safe }}
|
||||||
|
|
||||||
{% if page.previous %}Previous article: {{ page.previous.permalink }}{% endif %}
|
{% if page.earlier %}Previous article: {{ page.earlier.permalink }}{% endif %}
|
||||||
{% if page.next %}Next article: {{ page.next.permalink }}{% endif %}
|
{% if page.later %}Next article: {{ page.later.permalink }}{% endif %}
|
||||||
{% endblock content %}
|
{% endblock content %}
|
||||||
|
|
Loading…
Reference in a new issue