From fbdc2f8de3ef34cc2e2576ce9e38066eb3d4c02b Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Tue, 12 Mar 2019 11:32:12 -0600 Subject: [PATCH] add page.url to UI templates table [skip ci] --- docs/modules/ROOT/pages/templates.adoc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/modules/ROOT/pages/templates.adoc b/docs/modules/ROOT/pages/templates.adoc index d9505d6..652fdda 100644 --- a/docs/modules/ROOT/pages/templates.adoc +++ b/docs/modules/ROOT/pages/templates.adoc @@ -94,10 +94,15 @@ Each entry has the properties url, string, and missing. | A collection of navigation links for the current page. Each navigation item contains the property `content` as well as the optional properties `url` and (child) `items`. +| page.url +| The URL for the current page. +This value is a root-relative path. +It's often used as the base URL to generate relative URLs from this page. + | page.canonicalUrl | The canonical URL for the current page. If there are older versions of the page, the canonical URL is the URL of the latest version. -If this is an aspect page, the canonical URL is the URL of the primary (non-aspect) page. +//If this is an aspect page, the canonical URL is the URL of the primary (non-aspect) page. | page.editUrl | The URL to edit the current page, typically on GitHub. -- 2.11.0