page-edit.html
TLDR
This file contains an HTML snippet that generates a "Edit on GitHub" link. The link is only generated if there is a file associated with the current webpage.
END
{{ if .File }}
<a
href="{{.Site.Params.ghrepo}}edit/main/website/site/content/{{ .File.Path }}"
class="float-right edit-github"
target="_blank"
>
Edit on GitHub
</a>
{{ end }}