From 435232555c3b2f23aac3e91fb417f9de69ed0ff8 Mon Sep 17 00:00:00 2001 From: TrialDragon <31419708+TrialDragon@users.noreply.github.com> Date: Tue, 5 Mar 2024 17:14:10 -0800 Subject: [PATCH] Add mention of `authors` page variable to docs 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: https://github.com/bevyengine/bevy-website/pull/1073/commits/6c293fa1a446036a8b6becf307b0112830c63d41#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. --- docs/content/documentation/templates/pages-sections.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/content/documentation/templates/pages-sections.md b/docs/content/documentation/templates/pages-sections.md index 1b1b15ad8..b1394a509 100644 --- a/docs/content/documentation/templates/pages-sections.md +++ b/docs/content/documentation/templates/pages-sections.md @@ -22,6 +22,7 @@ date: String?; updated: String?; slug: String; path: String; +authors: Array; draft: Bool; // the path, split on '/' components: Array;