diff --git a/layouts/partials/seo/structured/article.html b/layouts/partials/seo/structured/article.html index b828456c..c92284ea 100644 --- a/layouts/partials/seo/structured/article.html +++ b/layouts/partials/seo/structured/article.html @@ -9,8 +9,8 @@ "description" : "{{ if .Description }}{{ .Description | plainify }}{{ else }}{{if .IsPage}}{{ .Summary | plainify }}{{ end }}{{ end }}", "inLanguage" : "{{ .Lang }}", "wordCount": {{ .WordCount }}, - "datePublished" : "{{ .PublishDate.Format "2006-01-02T15:04:05" }}", - "dateModified" : "{{ .Date.Format "2006-01-02T15:04:05" }}", + "datePublished" : "{{ .PublishDate.Format "2006-01-02T15:04:05-07:00" }}", + "dateModified" : "{{ .Lastmod.Format "2006-01-02T15:04:05-07:00" }}", "image" : "{{ .Site.Params.logo | absURL }}", "keywords" : [ "{{ range $i, $e := .Params.tags }}{{ if $i }}, {{ end }}{{ $e }}{{ end }}" ], "mainEntityOfPage" : "{{ .Permalink }}", @@ -25,4 +25,4 @@ } } } - \ No newline at end of file +