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 }}
|
{{ 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>
|
||||||
|
|||||||
Reference in New Issue
Block a user