Rename date_format to format
This commit is contained in:
@@ -9,6 +9,6 @@
|
||||
{{ end }}
|
||||
{{ with $date }}
|
||||
<p class="{{ $dateclass }}">
|
||||
<time datetime="{{ .Format `2006-01-02` }}">{{ time.Format (site.Params.paige.date_format | default ":date_long") . }}</time>
|
||||
<time datetime="{{ .Format `2006-01-02` }}">{{ time.Format (site.Params.paige.page.date.format | default ":date_long") . }}</time>
|
||||
</p>
|
||||
{{ end }}
|
||||
|
@@ -66,7 +66,7 @@
|
||||
{{ end }}
|
||||
{{ with $date }}
|
||||
<p class="{{ if $summary }} {{ $gap }} {{ end }} {{ $dateclass }}">
|
||||
<time datetime="{{ .Format `2006-01-02` }}">{{ time.Format (site.Params.paige.date_format | default ":date_long") . }}</time>
|
||||
<time datetime="{{ .Format `2006-01-02` }}">{{ time.Format (site.Params.paige.page_list.date.format | default ":date_long") . }}</time>
|
||||
</p>
|
||||
{{ end }}
|
||||
{{ if $summary }}
|
||||
|
Reference in New Issue
Block a user