Show both the article date and release date, with the article dates staying in line and the release dates having an arrow pointed to them.

This commit is contained in:
2026-01-12 21:58:34 -07:00
parent 15498a3c0f
commit 1cb5231a5c

View File

@@ -106,11 +106,28 @@
{{ end }} {{ end }}
</span> </span>
<span class="post-day"> <span class="post-day">
{{/*
{{ if .Site.Params.dateformShort }} {{ if .Site.Params.dateformShort }}
{{ time.Format .Site.Params.dateformShort $date }} {{ time.Format .Site.Params.dateformShort $date }}
{{ else }} {{ else }}
{{ time.Format "Jan 2" $date }} {{ time.Format "Jan 2" $date }}
{{ end }} {{ end }}
*/}}
{{ if .Params.Release }}
{{ if .Site.Params.dateformShort }}
{{ time.Format .Site.Params.dateformShort .Params.release }}
{{ else }}
{{ time.Format "Jan 2" .Params.release }}
{{ end }}
<-
{{ end }}
{{ if .Site.Params.dateformShort }}
{{ time.Format .Site.Params.dateformShort .Date }}
{{ else }}
{{ time.Format "Jan 2" .Date }}
{{ end }}
</span> </span>
</a> </a>
</li> </li>