From a87c6b976b7f5e29830074d008710d1c552d7ae3 Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Sat, 16 May 2020 03:54:08 -0600 Subject: [PATCH] add tip about how to remove site.path from site.url using helper --- docs/modules/ROOT/pages/templates.adoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/modules/ROOT/pages/templates.adoc b/docs/modules/ROOT/pages/templates.adoc index eb53e2d..3facf8b 100644 --- a/docs/modules/ROOT/pages/templates.adoc +++ b/docs/modules/ROOT/pages/templates.adoc @@ -42,7 +42,8 @@ s| [[site]]site | site.path | The pathname (i.e., subpath) of the site.url under which the site is hosted (e.g., /docs). -Only set if site.url is defined. +This value is empty if site.url is not defined, has no path segment, or matches /. +Can be removed from the site.url value using a helper (e.g., `deleteSuffix site.url site.path`) (since Antora 2.1) | site.title -- 2.11.0