diff --git a/test_site/content/posts/_index.md b/test_site/content/posts/_index.md index cbb5609..e9f7069 100644 --- a/test_site/content/posts/_index.md +++ b/test_site/content/posts/_index.md @@ -3,4 +3,5 @@ title = "Posts" paginate_by = 2 template = "section_paginated.html" insert_anchor_links = "left" +sort_by = "date" +++ diff --git a/test_site/templates/page.html b/test_site/templates/page.html index 25e0455..8f4373a 100644 --- a/test_site/templates/page.html +++ b/test_site/templates/page.html @@ -3,6 +3,6 @@ {% block content %} {{ page.content | safe }} - {% if page.previous %}Previous article: {{ page.previous.permalink }}{% endif %} - {% if page.next %}Next article: {{ page.next.permalink }}{% endif %} + {% if page.earlier %}Previous article: {{ page.earlier.permalink }}{% endif %} + {% if page.later %}Next article: {{ page.later.permalink }}{% endif %} {% endblock content %}