mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 16:14:59 +00:00
Fix date formatting in JSON-LD for schema.org
This commit is contained in:
1 parent
20bfa6322d
commit
032982a642
1 file changed
+3
-2
@@ -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