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:
@@ -106,11 +106,28 @@
|
||||
{{ end }}
|
||||
</span>
|
||||
<span class="post-day">
|
||||
{{/*
|
||||
{{ if .Site.Params.dateformShort }}
|
||||
{{ time.Format .Site.Params.dateformShort $date }}
|
||||
{{ else }}
|
||||
{{ time.Format "Jan 2" $date }}
|
||||
{{ 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>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user