Change how to release date is shown on the list pages.
This commit is contained in:
@@ -114,20 +114,20 @@
|
|||||||
{{ 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 }}
|
{{ 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 }}
|
||||||
|
for
|
||||||
|
{{ if .Site.Params.dateformShort }}
|
||||||
|
{{ time.Format .Site.Params.dateformShort .Params.release }}
|
||||||
|
{{ else }}
|
||||||
|
{{ time.Format "Jan 2" .Params.release }}
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
Reference in New Issue
Block a user