theme/layouts/partials/edit-this-page.html

3 lines
176 B
HTML

{{- if and .Site.Params.repo .File -}}
<a href="{{ .Site.Params.repo }}/edit/main/{{ .Site.Params.docContentPath }}/{{ .File.Path }}">{{- T "edit_this_page" -}}</a>
{{- end -}}