You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by zr...@apache.org on 2020/12/14 12:18:23 UTC
[camel-website] branch master updated: CAMEL-15944: restores
correct Edit this page URL
This is an automated email from the ASF dual-hosted git repository.
zregvart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-website.git
The following commit(s) were added to refs/heads/master by this push:
new ea73472 CAMEL-15944: restores correct Edit this page URL
ea73472 is described below
commit ea734720f24e655510b7b26f494ee86f8bb05713
Author: Zoran Regvart <zr...@apache.org>
AuthorDate: Mon Dec 14 13:18:10 2020 +0100
CAMEL-15944: restores correct Edit this page URL
The `editPageUrl` helper was accidentally removed in the rebase on
Antora default UI, this restores it.
---
antora-ui-camel/src/partials/toolbar.hbs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/antora-ui-camel/src/partials/toolbar.hbs b/antora-ui-camel/src/partials/toolbar.hbs
index d9aa5c7..ee06cce 100644
--- a/antora-ui-camel/src/partials/toolbar.hbs
+++ b/antora-ui-camel/src/partials/toolbar.hbs
@@ -8,6 +8,6 @@
{{#if (and page.fileUri (not env.CI))}}
<div class="edit-this-page"><a href="{{page.fileUri}}">Edit this Page</a></div>
{{else if (and page.editUrl (or env.FORCE_SHOW_EDIT_PAGE_LINK (not page.origin.private)))}}
- <div class="edit-this-page"><a href="{{page.editUrl}}">Edit this Page</a></div>
+ <div class="edit-this-page"><a href="{{editPageUrl page}}">Edit this Page</a></div>
{{/if}}
</nav>