First commit for the website
This commit is contained in:
10
themes/terminal/layouts/partials/post-date.html
Normal file
10
themes/terminal/layouts/partials/post-date.html
Normal file
@@ -0,0 +1,10 @@
|
||||
{{- $date := .Date -}}
|
||||
{{- with .Params.dateFormat -}}
|
||||
{{- $date | time.Format . -}}
|
||||
{{- else -}}
|
||||
{{- with .Site.Params.dateFormat -}}
|
||||
{{- $date | time.Format . -}}
|
||||
{{- else -}}
|
||||
{{- $date | time.Format "2006-01-02" -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
Reference in New Issue
Block a user