From 554d50720cb4be8c786849636e9587a27ec67939 Mon Sep 17 00:00:00 2001 From: Daniel Sockwell Date: Sun, 29 Jul 2018 16:53:42 -0400 Subject: [PATCH] Update templates/pages-sections.md --- docs/content/documentation/templates/pages-sections.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/content/documentation/templates/pages-sections.md b/docs/content/documentation/templates/pages-sections.md index 6dcf7ac7..297c95b3 100644 --- a/docs/content/documentation/templates/pages-sections.md +++ b/docs/content/documentation/templates/pages-sections.md @@ -32,9 +32,12 @@ extra: HashMap; word_count: Number; // Based on https://help.medium.com/hc/en-us/articles/214991667-Read-time reading_time: Number; -// `previous` and `next` are only filled if the content can be sorted -previous: Page?; -next: Page?; +// `earlier` and `later` are only populated if the section variable `sort_by` is set to `date` +earlier: Page?; +later: Page?; +// `heavier` and `lighter` are only populated if the section variable `sort_by` is set to `weight` +heavier: Page?; +lighter: Page?; // See the Table of contents section below for more details toc: Array
; // Year/month/day is only set if the page has a date and month/day are 1-indexed