mirror of
https://github.com/thegeeklab/hugo-geekdoc.git
synced 2024-11-25 22:30:40 +00:00
Use path.Join on "Edit this page" hyperlink (#186)
This commit is contained in:
parent
94f26ef646
commit
ff32aea119
@ -39,7 +39,7 @@
|
|||||||
<div>
|
<div>
|
||||||
<span class="editpage">
|
<span class="editpage">
|
||||||
<svg class="icon gdoc_code"><use xlink:href="#gdoc_code"></use></svg>
|
<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
|
Edit this page
|
||||||
</a>
|
</a>
|
||||||
</span>
|
</span>
|
||||||
|
Loading…
Reference in New Issue
Block a user