mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 22:17:28 +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}}",
|
"headline": "{{.Title}}",
|
||||||
"name": "{{.Title}}",
|
"name": "{{.Title}}",
|
||||||
"url": "{{ .Permalink }}",
|
"url": "{{ .Permalink }}",
|
||||||
|
"description": "{{.Description}}",
|
||||||
"mainEntityOfPage": "{{.Permalink}}",
|
"mainEntityOfPage": "{{.Permalink}}",
|
||||||
"datePublished": {{.PublishDate.Format "2006-01-02"}},
|
"datePublished": "{{.PublishDate.Format "2006-01-02"}}",
|
||||||
"dateModified": {{.Date.Format "2006-01-02"}},
|
"dateModified": "{{.Date.Format "2006-01-02"}}",
|
||||||
"wordCount": {{.WordCount}},
|
"wordCount": {{.WordCount}},
|
||||||
"image": {
|
"image": {
|
||||||
"@type": "ImageObject",
|
"@type": "ImageObject",
|
||||||
|
|||||||
Reference in new issue
Block a user