From: Dan Allen Date: Sat, 16 May 2020 09:54:08 +0000 (-0600) Subject: add tip about how to remove site.path from site.url using helper X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=a87c6b976b7f5e29830074d008710d1c552d7ae3;p=eg-antora.git add tip about how to remove site.path from site.url using helper --- 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