summaryrefslogtreecommitdiffstats
path: root/docs/modules
diff options
context:
space:
mode:
Diffstat (limited to 'docs/modules')
-rw-r--r--docs/modules/ROOT/pages/templates.adoc7
1 files changed, 6 insertions, 1 deletions
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.