From d3050b78c94135949c0b04b36e92ce9aa77ade82 Mon Sep 17 00:00:00 2001 From: Joe Mooring Date: Thu, 30 Dec 2021 07:36:31 -0800 Subject: [PATCH] Document .Page.BundleType (#1620) Closes #785 --- content/en/variables/page.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/content/en/variables/page.md b/content/en/variables/page.md index 4ba4d3d91..79b1447f8 100644 --- a/content/en/variables/page.md +++ b/content/en/variables/page.md @@ -33,6 +33,9 @@ See [`.Scratch`](/functions/scratch/) for page-scoped, writable variables. .Aliases : aliases of this page +.BundleType +: the [bundle] type: `leaf`, `branch`, or an empty string if the page is not a bundle. + .Content : the content itself, defined below the front matter. @@ -305,3 +308,4 @@ The top-level key will be preferred. Therefore, the following method, when appli [gitinfo]: /variables/git/ [File Variables]: /variables/files/ +[bundle]: {{< relref "content-management/page-bundles" >}}