mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.git
synced 2025-01-15 13:26:37 +00:00
fix(docs): lastmod
This commit is contained in:
parent
bd3195125e
commit
0eb8f29d7f
|
@ -1,10 +1,10 @@
|
||||||
{{ if and .GitInfo .Site.Params.github_repo -}}
|
{{ if and .GitInfo .Site.Params.github_repo -}}
|
||||||
<div class="td-page-meta__lastmod">
|
<div class="td-page-meta__lastmod">
|
||||||
{{ T "post_last_mod" }} {{ .Lastmod.Format .Site.Params.time_format_default -}}
|
{{ T "post_last_mod" }}:
|
||||||
{{ with .GitInfo }}: {{/* Trim WS */ -}}
|
{{ with .GitInfo }} {{/* Trim WS */ -}}
|
||||||
<a href="{{ $.Site.Params.github_repo }}/commit/{{ .Hash }}">
|
<a href="{{ $.Site.Params.github_repo }}/commit/{{ .Hash }}">
|
||||||
{{- .Subject }} ({{ .AbbreviatedHash }}) {{- /* Trim WS */ -}}
|
|
||||||
</a>
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
</div>
|
{{ .Lastmod | time.Format ":date_long" }}
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
|
Loading…
Reference in a new issue