mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-12 19:04:40 -04:00
layouts: Use .File.Path
This commit is contained in:
parent
d3050b78c9
commit
948d6d69d9
@ -14,7 +14,7 @@
|
|||||||
<a href="{{ .Permalink }}">{{ .Title }}</a>
|
<a href="{{ .Permalink }}">{{ .Title }}</a>
|
||||||
</td>
|
</td>
|
||||||
<td class="pv2 ph3">
|
<td class="pv2 ph3">
|
||||||
<a href="{{.Site.Params.ghrepo}}blob/master/content/{{.Lang }}/{{.Path}}">
|
<a href="{{.Site.Params.ghrepo}}blob/master/content/{{.Lang }}/{{.File.Path}}">
|
||||||
{{ with .GitInfo }}{{ .Subject }}{{ else }}Source{{ end }}
|
{{ with .GitInfo }}{{ .Subject }}{{ else }}Source{{ end }}
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user