Skip to content

Commit

Permalink
add tip about how to remove site.path from site.url using helper
Browse files Browse the repository at this point in the history
  • Loading branch information
mojavelinux committed May 16, 2020
1 parent e1f2e1b commit a87c6b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/modules/ROOT/pages/templates.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a87c6b9

Please sign in to comment.