First commit.
This commit is contained in:
commit
b7977e1c28
1 changed files with 28081 additions and 0 deletions
34
layouts/partials/single_json_ld.html
Normal file
34
layouts/partials/single_json_ld.html
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "http://schema.org",
|
||||
"@type": "NewsArticle",
|
||||
"mainEntityOfPage": {
|
||||
"@type": "WebPage",
|
||||
"@id":"{{ .Site.BaseURL }}"
|
||||
},
|
||||
"headline": "{{ .Title }} - {{ .Site.Title }}",
|
||||
"image": {
|
||||
"@type": "ImageObject",
|
||||
"url": "{{ .Site.BaseURL }}{{ .Params.thumbnail | default "images/default.png" }}",
|
||||
"height": 800,
|
||||
"width": 800
|
||||
},
|
||||
"datePublished": "{{ .Date.Format "2006-01-02T15:04:05UTC" }}",
|
||||
"dateModified": "{{ .Lastmod.Format "2006-01-02T15:04:05UTC" }}",
|
||||
"author": {
|
||||
"@type": "Person",
|
||||
"name": "{{ .Site.Title }}"
|
||||
},
|
||||
"publisher": {
|
||||
"@type": "Organization",
|
||||
"name": "{{ .Site.Title }}",
|
||||
"logo": {
|
||||
"@type": "ImageObject",
|
||||
"url": "{{ .Site.BaseURL }}images/logo.png",
|
||||
"width": 600,
|
||||
"height": 60
|
||||
}
|
||||
},
|
||||
"description": "{{ .Description | default .Summary }}"
|
||||
}
|
||||
</script>
|
||||
Loading…
Reference in a new issue