-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathschema.liquid
More file actions
27 lines (27 loc) · 868 Bytes
/
schema.liquid
File metadata and controls
27 lines (27 loc) · 868 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Article",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "{{ schema_surl }}"
},
"headline": "{{ title }}",
"image": [{% for image in page.images %}"{{ image }}"{% unless forloop.last %},{% endunless %}{% endfor %}],
"author": {
"@type": "Person",
"name": "{{ author }}"
},
"datePublished": "{{ schema_date }}",
"dateModified": "{{ schema_modi }}",
"publisher": {
"@type": "{{ docs.owner.type }}",
"name": "{{ author }}",
"logo": {
"@type": "ImageObject",
"url": "{{ docs.owner.avatar_url }}"
}
},
"description": "{{ description }}"
}
</script>