diff options
author | Sebastian Pech <windows@spech.de> | 2019-10-08 19:00:06 +0300 |
---|---|---|
committer | Sebastian Pech <windows@spech.de> | 2019-10-08 19:00:06 +0300 |
commit | 621ddc482ca341d060de25253fdd35b39abafb5f (patch) | |
tree | 970502d7cc7cdbb01f8f6fc1e031bcbb599a46d9 | |
parent | 358aa2f5bd278aa6c831d0f8f121437f8327f1dd (diff) |
fixed structured data format
-rw-r--r-- | layouts/partials/seo_schema.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/seo_schema.html b/layouts/partials/seo_schema.html index 1ca02d2..96f0751 100644 --- a/layouts/partials/seo_schema.html +++ b/layouts/partials/seo_schema.html @@ -17,8 +17,8 @@ "accountablePerson" : "{{ range .Site.Author }}{{ . }}{{ end }}", "copyrightHolder" : "{{ range .Site.Author }}{{ . }}{{ end }}", "copyrightYear" : "{{ .Date.Format "2006" }}", - "datePublished": "{{ .Date | safeHTML }}", - "dateModified" : "{{ .Date | safeHTML }}", + "datePublished": "{{ .Date.UTC.Format "2006-01-02T15:04:05Z" | safeHTML }}", + "dateModified" : "{{ .Date.UTC.Format "2006-01-02T15:04:05Z" | safeHTML }}", "url" : "{{ .RelPermalink }}", "wordCount" : "{{ .WordCount }}", "keywords" : [ {{ if isset .Params "tags" }}{{ range .Params.tags }}"{{ . }}",{{ end }}{{ end }}"Blog" ] |