Skip to content

Commit f9e4e7c

Browse files
TrialDragonveluca93
authored andcommitted
Add mention of authors page variable to docs (getzola#2451)
The `authors` variable so far has only been documented as something you can define in the front matter for use of feeds, but it also works in templates to define the authors of a page. (For practical use see: bevyengine/bevy-website@6c293fa#diff-672b08946ef5cbc8db5c086bf50651b69b29e9d7be0708a1de7ded170b440e99) This PR adds it to the documentation so that folks don't have to dig in commit histories to figure out it also works in templates.
1 parent 8463469 commit f9e4e7c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/content/documentation/templates/pages-sections.md

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ date: String?;
2222
updated: String?;
2323
slug: String;
2424
path: String;
25+
authors: Array<String>;
2526
draft: Bool;
2627
// the path, split on '/'
2728
components: Array<String>;

0 commit comments

Comments
 (0)