Merge pull request #27 from tfsaggregator/master

Fix URL for 'Edit this page' on Windows
This commit is contained in:
Mathieu Cornic 2017-01-07 15:13:13 +01:00 committed by GitHub
commit be56ee9739

View file

@ -34,7 +34,7 @@
{{ $Site := .Site }} {{ $Site := .Site }}
{{with $File.Path }} {{with $File.Path }}
<div id="top-github-link"> <div id="top-github-link">
<a class="github-link" href="{{ $Site.Params.editURL }}{{ $File.Dir }}{{ $File.LogicalName }}" target="blank"> <a class="github-link" href="{{ $Site.Params.editURL }}{{ replace $File.Dir "\\" "/" }}{{ $File.LogicalName }}" target="blank">
<i class="fa fa-code-fork"></i> <i class="fa fa-code-fork"></i>
Edit this page Edit this page
</a> </a>