diff options
author | Brendan McCoy <13607368+brendan-mccoy@users.noreply.github.com> | 2021-08-15 14:36:15 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-15 14:36:15 +0300 |
commit | ff32aea1190efa3018d4fcc84e024c540941555e (patch) | |
tree | 77a87e7b07a95ca118bdb2dd35d6325ee327d4c4 | |
parent | 94f26ef6460f515374b280f15ad1760f39eb5c5e (diff) |
Use path.Join on "Edit this page" hyperlink (#186)v0.17.1
-rw-r--r-- | layouts/partials/page-header.html | 2 |
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> |