reorganized folder structure
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "http://schema.org",
|
||||
"@type": "Article",
|
||||
"author": {
|
||||
"name" : "{{ .Params.author.name }}"
|
||||
},
|
||||
"headline": "{{ .Title }}",
|
||||
"description": "{{ .Params.description }}",
|
||||
"wordCount": {{ .WordCount }},
|
||||
"datePublished" : "{{ .PublishDate.Format "2006-01-02T15:04:05" }}",
|
||||
"dateModified" : "{{ .Date.Format "2006-01-02T15:04:05" }}",
|
||||
"image" : {
|
||||
"@context": "http://schema.org",
|
||||
"@type": "ImageObject",
|
||||
"author": "{{ .Params.image.author }}",
|
||||
"url": "{{ .Params.image.src }}",
|
||||
"datePublished": "{{ .PublishDate.Format "2006-01-02T15:04:05" }}",
|
||||
"name": "{{ .Params.image.title }}",
|
||||
"height" : {{ .Params.image.height }},
|
||||
"width" : {{ .Params.image.width }},
|
||||
"license" : "{{ .Params.image.license_link }}",
|
||||
"isBasedOn" : "{{ .Params.image.link }}"
|
||||
},
|
||||
"mainEntityOfPage" : "{{ .Permalink }}",
|
||||
"publisher" : {
|
||||
"@type": "Organization",
|
||||
"name" : "{{ $.Site.Params.publisherName }}",
|
||||
"logo" : {
|
||||
"@type" : "ImageObject",
|
||||
"url" : "{{ $.Site.Params.publisherLogo }}",
|
||||
"height" : {{ $.Site.Params.publisherLogoHeight }},
|
||||
"width" : {{ $.Site.Params.publisherLogoWidth }}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user