Fix date formatting in JSON-LD for schema.org

This commit is contained in:
Ryan Watters committed 2017-03-12 23:02:09 -05:00
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",