diff --git a/layouts/_default/index.html b/layouts/_default/index.html index 1cab615..0368c94 100644 --- a/layouts/_default/index.html +++ b/layouts/_default/index.html @@ -20,9 +20,11 @@ {{ .Title | markdownify }}
+ {{- with .Date }} - {{ .Date.Format "2006-01-02" }} + {{ .Format "2006-01-02" }} + {{- end }} {{ with .Params.Author }} :: {{ . }} {{ end }} diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 02f69b4..9fcba67 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -11,9 +11,11 @@ {{ .Title | markdownify }}
+ {{- with .Date }} + {{- end }} {{ with .Params.Author }} {{ end }}