diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 88e7eb2..adcde02 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -10,7 +10,7 @@ {{ range .Pages }}
{{.Title}} - — {{.Date.Format "2006-01-02"}} + — {{.PublishDate.Format "2006-01-02"}}
{{ end }} diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index a4c6200..4ff6a10 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -17,7 +17,7 @@ {{ .Title }} {{ .Permalink }} - {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} + {{ .PublishDate.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} {{ with .Site.Author.email }}{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}} {{ .Permalink }} {{ .Content | html }} diff --git a/layouts/_default/section.html b/layouts/_default/section.html index e8bc046..e614194 100644 --- a/layouts/_default/section.html +++ b/layouts/_default/section.html @@ -6,7 +6,7 @@ {{.Title}} - — {{ .Date.Format "2006-01-02" }} + — {{ .PublishDate.Format "2006-01-02" }} {{ with .Params.categories }} {{ range . }} — {{ . }}