mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 15:28:54 +00:00
Fix date formatting in JSON-LD for schema.org
This commit is contained in:
@@ -8,9 +8,10 @@
|
||||
"headline": "{{.Title}}",
|
||||
"name": "{{.Title}}",
|
||||
"url": "{{ .Permalink }}",
|
||||
"description": "{{.Description}}",
|
||||
"mainEntityOfPage": "{{.Permalink}}",
|
||||
"datePublished": {{.PublishDate.Format "2006-01-02"}},
|
||||
"dateModified": {{.Date.Format "2006-01-02"}},
|
||||
"datePublished": "{{.PublishDate.Format "2006-01-02"}}",
|
||||
"dateModified": "{{.Date.Format "2006-01-02"}}",
|
||||
"wordCount": {{.WordCount}},
|
||||
"image": {
|
||||
"@type": "ImageObject",
|
||||
|
||||
Reference in New Issue
Block a user