Changes dateform
to dateformat
This commit is contained in:
parent
227d365dbe
commit
fdf35c8c91
2 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@
|
|||
<div class="post">
|
||||
<h1 class="post-title"><a href="{{ .Permalink }}">{{ .Title }}</a></h1>
|
||||
<span class="post-date">
|
||||
{{- .Date.Format (.Site.Params.dateform | default "Jan 02, 2006") -}}
|
||||
{{- .Date.Format (.Site.Params.dateformat | default "Jan 02, 2006") -}}
|
||||
</span>
|
||||
{{ .Summary }}
|
||||
{{ if .Truncated }}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<span class="text-left post-date meta">
|
||||
<!-- published date -->
|
||||
{{ if not .Date.IsZero }}
|
||||
<i class="fas fa-calendar-alt"></i> {{ .Date.Format (.Site.Params.dateform | default "Jan 02, 2006") -}}
|
||||
<i class="fas fa-calendar-alt"></i> {{ .Date.Format (.Site.Params.dateformat | default "Jan 02, 2006") -}}
|
||||
{{ end }}
|
||||
<!-- categories -->
|
||||
{{ with .Params.categories }}
|
||||
|
|
Loading…
Reference in a new issue