Use path.Join on "Edit this page" hyperlink (#186)

This commit is contained in:
Brendan McCoy 2021-08-15 07:36:15 -04:00 committed by GitHub
parent 94f26ef646
commit ff32aea119
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>