mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-11-17 13:25:57 -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 }}
|