This commit is contained in:
Clément Joly 2020-04-26 19:35:59 +01:00 committed by GitHub
parent 7b3279befd
commit 6b91328e81
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -46,7 +46,7 @@ month: Number?;
day: Number?; day: Number?;
// Paths of colocated assets, relative to the content directory // Paths of colocated assets, relative to the content directory
assets: Array<String>; assets: Array<String>;
// The relative paths of the parent sections until the index onef for use with the `get_section` Tera function // The relative paths of the parent sections until the index one, for use with the `get_section` Tera function
// The first item is the index section and the last one is the parent section // The first item is the index section and the last one is the parent section
// This is filled after rendering a page content so it will be empty in shortcodes // This is filled after rendering a page content so it will be empty in shortcodes
ancestors: Array<String>; ancestors: Array<String>;
@ -89,7 +89,7 @@ word_count: Number;
reading_time: Number; reading_time: Number;
// Paths of colocated assets, relative to the content directory // Paths of colocated assets, relative to the content directory
assets: Array<String>; assets: Array<String>;
// The relative paths of the parent sections until the index onef for use with the `get_section` Tera function // The relative paths of the parent sections until the index one, for use with the `get_section` Tera function
// The first item is the index section and the last one is the parent section // The first item is the index section and the last one is the parent section
// This is filled after rendering a page content so it will be empty in shortcodes // This is filled after rendering a page content so it will be empty in shortcodes
ancestors: Array<String>; ancestors: Array<String>;

View file

@ -64,5 +64,5 @@ term: TaxonomyTerm;
lang: String; lang: String;
``` ```
A paginated taxonomy term will also get a `paginator` variable; see the [pagination page] A paginated taxonomy term will also get a `paginator` variable; see the
(@/documentation/templates/pagination.md) for more details. [pagination page](@/documentation/templates/pagination.md) for more details.