diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 3aa7d31..dacefe8 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -10,6 +10,10 @@ "@type": "Person", "name": {{ .Site.Params.author }} }, + {{ $ISO8601 := "2006-01-02T15:04:05-07:00" }} + {{ if not .Date.IsZero }} + "dateModified": {{ .Date.Format $ISO8601 }}, + {{ end }} {{ with .Site.Social.GooglePlus }} "publisher": {{ printf "%s" . }}, {{ end }}