diff --git a/docs/content/documentation/templates/pages-sections.md b/docs/content/documentation/templates/pages-sections.md index bb4d754..3c04e38 100644 --- a/docs/content/documentation/templates/pages-sections.md +++ b/docs/content/documentation/templates/pages-sections.md @@ -25,8 +25,7 @@ draft: Bool; components: Array; permalink: String; summary: String?; -tags: Array; -category: String?; +taxonomies: HashMap>; extra: HashMap; // Naive word count, will not work for languages without whitespace word_count: Number; 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 %}