mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-07 08:15:58 +00:00
8 lines
409 B
HTML
8 lines
409 B
HTML
{{ if site.Params.edit_page.repo_url | and (index site.Params.edit_page.editable .Type) | and (ne .Params.editable false) | or .Params.editable }}
|
|
<p class="edit-page">
|
|
<a href="{{site.Params.edit_page.repo_url}}/edit/{{site.Params.edit_page.repo_branch | default "master"}}/content/{{.File.Path}}">
|
|
<i class="fas fa-pen pr-2"></i>{{ i18n "edit_page" | default "Edit this page" }}
|
|
</a>
|
|
</p>
|
|
{{ end }}
|