mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-11-16 04:55:59 -06:00
9 lines
398 B
HTML
9 lines
398 B
HTML
{{ if and .Site.Params.gitHistoryURL .File.Path }}
|
|
<span class="post-meta-item post-meta-edit-history" aria-label="{{ i18n "aria_post_meta_edit_history" }}">
|
|
{{ partial "icon.html" "history" }}
|
|
<a href="{{ printf "%s/content/%s" .Site.Params.gitHistoryURL .File.Path }}" target="_blank" rel="noopener">
|
|
{{- i18n "edit_history" -}}
|
|
</a>
|
|
</span>
|
|
{{ end }}
|