blob: 5cfe8b2342ccf437c3b98eaddfb8c435b3370f46 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
{
"@context": "http://schema.org",
"@type": "BlogPosting",
"headline": "{{ .Title }}",
"url": "{{ .Permalink }}",
"datePublished": "{{ .PublishDate.Format "2006-01-02" }}",
"image": {
"@type": "ImageObject",
{{ if .Params.shareImage }}
"url": "{{ .Params.shareImage | absURL }}"
{{ else }}
"url": "{{ .Site.Params.siteLogo | absURL }}"
{{ end }}
},
"author": {
"@type": "Person",
"name": "{{ .Site.Params.author.name }}",
{{ with .Site.GetPage "/about" }}
"url": "{{ .Permalink }}"
{{ end }}
}
}
|