Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/spech66/bootstrap-bp-hugo-startpage.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pech <windows@spech.de>2019-10-08 19:00:06 +0300
committerSebastian Pech <windows@spech.de>2019-10-08 19:00:06 +0300
commit621ddc482ca341d060de25253fdd35b39abafb5f (patch)
tree970502d7cc7cdbb01f8f6fc1e031bcbb599a46d9
parent358aa2f5bd278aa6c831d0f8f121437f8327f1dd (diff)
fixed structured data format
-rw-r--r--layouts/partials/seo_schema.html4
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" ]