Browse Source

Update templates/pages-sections.md

index-subcmd
Daniel Sockwell 6 years ago
parent
commit
554d50720c
1 changed files with 6 additions and 3 deletions
  1. +6
    -3
      docs/content/documentation/templates/pages-sections.md

+ 6
- 3
docs/content/documentation/templates/pages-sections.md View File

@@ -32,9 +32,12 @@ extra: HashMap<String, Any>;
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<Header>;
// Year/month/day is only set if the page has a date and month/day are 1-indexed


Loading…
Cancel
Save