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