From 11d2521d7a044501a3bbbb469137b7d4f771b0b8 Mon Sep 17 00:00:00 2001 From: TrialDragon <31419708+TrialDragon@users.noreply.github.com> Date: Wed, 6 Mar 2024 11:09:22 -0800 Subject: [PATCH] Add mention of `authors` page variable to docs (#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: 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 1b1b15ad8b..b1394a5099 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;