File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 44 "@context" : "http://schema.org" ,
55 "@type" : "Blog" ,
66 { { - /* Google recommends the headline be no more than 110 characters */ } }
7- "headline" : " {{ substr .Site.Title 0 110 }}" ,
8- "url" : " {{ printf "% s " .Permalink }}" ,
7+ "headline" : { { substr . Site . Title 0 110 } } ,
8+ "url" : { { printf "%s" . Permalink } } ,
99 "author" : {
1010 "@type" : "Person" ,
11- "name" : " {{ .Site.Params.author }}"
11+ "name" : { { . Site . Params . author } }
1212 } ,
1313 { { - $ISO8601 := "2006-01-02T15:04:05-07:00" } }
1414 { { - if not . Date . IsZero } }
Original file line number Diff line number Diff line change 66 "@context" : "http://schema.org" ,
77 "@type" : "BlogPosting" ,
88 { { - /* Google recommends the headline be no more than 110 characters */ } }
9- "headline" : " {{ substr .Title 0 110 }}" ,
9+ "headline" : { { substr . Title 0 110 } } ,
1010 { { - with . Params . images - } } { { range first 1 . } }
1111 "image" : {
1212 "@type" : "ImageObject" ,
13- "url" : " {{ . | absURL }}"
13+ "url" : { { . | absURL } }
1414 { { - /* Don't try to get imageConfig if image param is not local */ - } }
1515 { { - if not ( or ( hasPrefix . "http://" ) ( hasPrefix . "https://" ) ) - } }
1616 { { - with ( imageConfig ( printf "/static/%s" . ) ) - } }
2121 { { end } }
2222 } ,
2323 { { - end - } } { { end } }
24- "url" : " {{ printf "% s " .Permalink }}" ,
24+ "url" : { { printf "%s" . Permalink } } ,
2525 "wordCount" : "{{ .WordCount }}" ,
2626 { { - $ISO8601 := "2006-01-02T15:04:05-07:00" } }
2727 { { - if not . PublishDate . IsZero } }
3434 { { - end } }
3535 "author" : {
3636 "@type" : "Person" ,
37- "name" : " {{ .Params.author | default .Site.Params.author }}"
37+ "name" : { { . Params . author | default . Site . Params . author } }
3838 }
3939 { { - if or ( . Params . keywords ) ( or ( . Params . categories ) ( . Params . tags ) ) - } }
4040 ,
You can’t perform that action at this time.
0 commit comments