Change how to release date is shown on the list pages.
This commit is contained in:
@@ -114,20 +114,20 @@
|
||||
{{ 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 }}
|
||||
|
||||
{{ 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>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user