summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Allen <dan@opendevise.com>2019-03-12 11:32:12 -0600
committerDan Allen <dan@opendevise.com>2019-03-12 11:32:12 -0600
commitfbdc2f8de3ef34cc2e2576ce9e38066eb3d4c02b (patch)
treed4868b581ab0c5b8fc4a35e189ca4104168c701d
parent88ad0bef9e81c3afce1e7e95e32f819cb45bd172 (diff)
downloadalpine-antora-theme-fbdc2f8de3ef34cc2e2576ce9e38066eb3d4c02b.tar.bz2
alpine-antora-theme-fbdc2f8de3ef34cc2e2576ce9e38066eb3d4c02b.tar.xz
add page.url to UI templates table [skip ci]
-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.