Skip to content

Commit

Permalink
Add mention of authors page variable to docs (getzola#2451)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
TrialDragon authored and veluca93 committed May 14, 2024
1 parent 8463469 commit f9e4e7c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/content/documentation/templates/pages-sections.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ date: String?;
updated: String?;
slug: String;
path: String;
authors: Array<String>;
draft: Bool;
// the path, split on '/'
components: Array<String>;
Expand Down

0 comments on commit f9e4e7c

Please sign in to comment.