26 lines
675 B
HTML
Executable file
26 lines
675 B
HTML
Executable file
<script type="application/ld+json">
|
|
{
|
|
"@context": "http://schema.org",
|
|
"@type": "WebSite",
|
|
"url" : "{{ .Permalink }}",
|
|
"name": {{ .Title | jsonify }},
|
|
"description": {{ $.Param "description" | jsonify }},
|
|
{{ with $.Param "image" -}}
|
|
"image" : "{{ . | absURL }}",
|
|
{{ end -}}
|
|
{{ with $.Param "author" -}}
|
|
"author": {
|
|
"@type": "Person",
|
|
"name": {{ . | jsonify }}
|
|
},
|
|
{{ end -}}
|
|
"mainEntityOfPage": {
|
|
"@type": "WebPage",
|
|
"@id": "{{ .Site.BaseURL }}"
|
|
},
|
|
"publisher": {
|
|
"@type": "Organization",
|
|
"name": {{ .Site.Title | jsonify }},
|
|
"url": "{{ .Site.BaseURL }}",
|
|
}
|
|
</script>
|