From 2c13e4327f12d54a3dfaf9d8cd9414dc7f81563c Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Sun, 25 Aug 2019 04:33:34 -0600 Subject: [PATCH] document the site.path property in the UI model --- docs/modules/ROOT/pages/templates.adoc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/modules/ROOT/pages/templates.adoc b/docs/modules/ROOT/pages/templates.adoc index caf08a9..508903e 100644 --- a/docs/modules/ROOT/pages/templates.adoc +++ b/docs/modules/ROOT/pages/templates.adoc @@ -34,6 +34,11 @@ Here's an overview of the available UI model: | site.url | The base URL of the site, if specified. +| site.path +| The pathname segment of the site.url under which the site is hosted (e.g., /docs). +If the site.url is not specified, or does not contain a path, this value is empty. +(since Antora 2.1) + | site.title | The title of the site. -- 2.11.0