From: Dan Allen Date: Wed, 11 Sep 2019 12:07:21 +0000 (-0600) Subject: correctly document how to disable the editUrl (and hence Edit this Page link) X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=dc2308e2fd19a7cbe3d7bc6e1139ffd4a537c670;p=eg-antora.git correctly document how to disable the editUrl (and hence Edit this Page link) --- diff --git a/docs/modules/ROOT/pages/templates.adoc b/docs/modules/ROOT/pages/templates.adoc index 3ea263a..cac655e 100644 --- a/docs/modules/ROOT/pages/templates.adoc +++ b/docs/modules/ROOT/pages/templates.adoc @@ -115,8 +115,12 @@ If there's only a single version of the component, the canonical URL is the qual | page.editUrl | The URL to edit the current page (typically a web-based editor on the git host). -This value will not be set if the repository requires authentication or the repository URL embeds credentials. -A quick way to disable this property (and thus the "Edit this Page" link) is to start the repository URL with `\https://git@`. + +| page.origin.private +| This value will be true if the repository requires authentication or the repository URL embeds credentials. +In the default UI, if this value is `true`, the "Edit this Page" link is disabled. +A quick way to force this property to be `true` (even if the repository is public) is to begin the content source URL in the playbook with empty credentials, as in `\https://@`. +That, in turn, disables the "Edit the Page" link. | page.home | Indicates whether the current page is the home page of the site.