This is an automated email from the ASF dual-hosted git repository.
bmarwell pushed a commit to branch jbake
in repository https://gitbox.apache.org/repos/asf/shiro-site.git
The following commit(s) were added to refs/heads/jbake by this push:
new 4eec0fc use sourceuri instead of file for the edit page
4eec0fc is described below
commit 4eec0fc0301c54b8a79beb6dfc82fdfc9321466d
Author: Benjamin Marwell <[email protected]>
AuthorDate: Tue Sep 14 22:25:27 2021 +0200
use sourceuri instead of file for the edit page
- also not correct but will work on this later.
---
jbake/templates/footer.ftl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/jbake/templates/footer.ftl b/jbake/templates/footer.ftl
index a3adaae..451679c 100644
--- a/jbake/templates/footer.ftl
+++ b/jbake/templates/footer.ftl
@@ -21,7 +21,7 @@
</div>
<div class="d-flex justify-content-end col-md-4" id="editThisPage">
- <#if (content.file)??><input type="hidden" id="ghEditPage"
value="${content.file}"></input></#if>
+ <#if (content.file)??><input type="hidden" id="ghEditPage"
value="${content.sourceuri}"></input></#if>
</div>
<div class="d-flex col-md-2 justify-content-end" style="position:
relative">