theme/layouts/partials/edit-this.html
Xinyu Zhou 0f84c8023b
remove useless
Signed-off-by: Xinyu Zhou <i@sourcehut.net>
2022-11-30 13:30:06 +08:00

3 lines
222 B
HTML

{{- if and .Site.Params.github_doc_repository .File -}}
<a href="{{ .Site.Params.github_doc_repository }}/edit/main/{{ .Site.Params.github_doc_repository_path }}/{{ .File.Path }}">{{- T "edit_on_github" -}}</a>
{{- end -}}