mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.git
synced 2025-01-15 13:26:37 +00:00
Merge pull request 'Remove commit messages from last modified text' (#151) from nevfy/selfprivacy.org:fix-lastmod into master
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org/pulls/151 Reviewed-by: Inex Code <inex.code@selfprivacy.org>
This commit is contained in:
commit
8bac943102
|
@ -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 */ -}}
|
{{ $.Lastmod | time.Format ":date_long" }}
|
||||||
</a>
|
</a>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
</div>
|
</div>
|
||||||
{{ end -}}
|
{{ end -}}
|
Loading…
Reference in a new issue