mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.git
synced 2024-11-09 10:23:12 +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,9 +1,9 @@
|
|||
{{ if and .GitInfo .Site.Params.github_repo -}}
|
||||
<div class="td-page-meta__lastmod">
|
||||
{{ T "post_last_mod" }} {{ .Lastmod.Format .Site.Params.time_format_default -}}
|
||||
{{ with .GitInfo }}: {{/* Trim WS */ -}}
|
||||
{{ T "post_last_mod" }}:
|
||||
{{ with .GitInfo }} {{/* Trim WS */ -}}
|
||||
<a href="{{ $.Site.Params.github_repo }}/commit/{{ .Hash }}">
|
||||
{{- .Subject }} ({{ .AbbreviatedHash }}) {{- /* Trim WS */ -}}
|
||||
{{ $.Lastmod | time.Format ":date_long" }}
|
||||
</a>
|
||||
{{- end }}
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue