Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/thegeeklab/hugo-geekdoc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrendan McCoy <13607368+brendan-mccoy@users.noreply.github.com>2021-08-15 14:36:15 +0300
committerGitHub <noreply@github.com>2021-08-15 14:36:15 +0300
commitff32aea1190efa3018d4fcc84e024c540941555e (patch)
tree77a87e7b07a95ca118bdb2dd35d6325ee327d4c4
parent94f26ef6460f515374b280f15ad1760f39eb5c5e (diff)
Use path.Join on "Edit this page" hyperlink (#186)v0.17.1
-rw-r--r--layouts/partials/page-header.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/page-header.html b/layouts/partials/page-header.html
index c1a4798..a5729de 100644
--- a/layouts/partials/page-header.html
+++ b/layouts/partials/page-header.html
@@ -39,7 +39,7 @@
<div>
<span class="editpage">
<svg class="icon gdoc_code"><use xlink:href="#gdoc_code"></use></svg>
- <a href="{{ $geekdocRepo }}/{{ $geekdocEditPath }}/{{ $.Scratch.Get "geekdocFilePath" }}">
+ <a href="{{ $geekdocRepo }}/{{ path.Join $geekdocEditPath ($.Scratch.Get "geekdocFilePath") }}">
Edit this page
</a>
</span>