mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 22:17:28 +00:00
docs: Fix 'Refine this Page' link in menu.html
This commit is contained in:
1 parent
75c8dac3c4
commit
9ed2a9b1e8
1 file changed
+1
-1
@@ -31,7 +31,7 @@
|
||||
{{end}}
|
||||
<li> <a href="https://github.com/gohugoio/hugo/issues" target="blank"><i class='fa fa-life-ring'></i> <span>Issues & Help</span></a> </li>
|
||||
{{ if .IsPage }}
|
||||
{{ $File := .File }} {{with $File.Path }}<li><a href="https://github.com/gohugoio/hugo/edit/master/docs/content/{{ $File.Dir }}{{ $File.LogicalName }}" target="blank"><i class='fa fa-edit'></i> Refine this Page</a> </li>{{end}}
|
||||
{{ $File := .File }} {{with $File.Path }}<li><a href="https://github.com/gohugoio/hugoDocs/edit/master/content/{{ $File.Dir }}{{ $File.LogicalName }}" target="blank"><i class='fa fa-edit'></i> Refine this Page</a> </li>{{end}}
|
||||
{{ end }}
|
||||
</ul>
|
||||
<!-- sidebar menu end-->
|
||||
|
||||
Reference in new issue
Block a user