From b9ef3a070ecb5c869cb679a93278a62bcea2d495 Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Tue, 1 Oct 2019 17:34:24 -0600 Subject: [PATCH] document the siteRootPath template variable --- docs/modules/ROOT/pages/templates.adoc | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/docs/modules/ROOT/pages/templates.adoc b/docs/modules/ROOT/pages/templates.adoc index 64e5deb..55c96d1 100644 --- a/docs/modules/ROOT/pages/templates.adoc +++ b/docs/modules/ROOT/pages/templates.adoc @@ -24,7 +24,7 @@ Variable names and purposes may change. Here's an overview of the available UI model: .Variables available to the Handlebars templates -[#template-variables-table,cols="1m,3"] +[#template-variables-table,cols="1m,2"] |=== | Name | Description @@ -137,12 +137,11 @@ Then, the "Edit the Page" link will not appear. | page.parent | The parent page in the navigation tree. Will resolve to grandparent if parent item is not a page. -| uiRootPath -| The path to the root directory of the UI. +| siteRootPath +| The relative path to the root of the published site. -//| siteRootUrl -//| The URL of the site root relative to the current page. -//If the site does not have a root component, this value is null. +| uiRootPath +| The relative path to the root directory of the UI. |=== This model is likely to grow over time. -- 2.11.0