-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhead-meta.hbs
More file actions
100 lines (96 loc) · 3.99 KB
/
head-meta.hbs
File metadata and controls
100 lines (96 loc) · 3.99 KB
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{{!-- Favicon / social --}}
<link rel="icon" href="https://www.ibm.com/favicon.ico">
{{!-- Article meta --}}
<meta property="article:published_time" content="{{page.localdate}}">
<meta property="article:modified_time" content="{{page.docdate}}">
<meta property="article:author" content="DataStax">
{{!-- Open Graph --}}
{{#if (eq "{{{site.url}}}{{{site.homeUrl}}}" page.canonicalUrl)}}
<meta property="og:type" content="website">
{{else}}
<meta property="og:type" content="article">
{{/if}}
<meta property="og:site_name" content="DataStax Documentation">
<meta property="og:url" content="{{page.canonicalUrl}}">
<meta property="og:title" content="{{> head-title}}">
<meta property="og:description" content="{{page.description}}">
<meta property="og:image" content="{{{site.url}}}{{{site.ui.url}}}/img/datastax-docs-banner.png">
<meta property="og:image:type" content="image/png">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="628">
<meta property="og:image:alt" content="DataStax Documentation">
{{!-- Twitter / X --}}
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:url" content="{{page.canonicalUrl}}">
<meta name="twitter:title" content="{{> head-title}}">
<meta name="twitter:description" content="{{page.description}}">
<meta name="twitter:image" content="{{{site.url}}}{{{site.ui.url}}}/img/datastax-docs-banner.png">
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@graph": [
{
"@type": "Organization",
"@id": "https://docs.datastax.com#organization",
"name": "DataStax",
"url": "https://docs.datastax.com",
"logo": "{{{site.url}}}{{{site.ui.url}}}/img/datastax-docs-banner.png",
"sameAs": [
"https://www.ibm.com/products/datastax",
"https://github.com/datastax/",
"https://github.com/datastaxdevs/",
"https://www.youtube.com/@DataStax",
"https://www.youtube.com/@DataStaxDevs",
"https://en.wikipedia.org/wiki/DataStax"
],
"parentOrganization": {
"@type": "Organization",
"@id": "https://www.ibm.com#organization",
"name": "IBM",
"url": "https://www.ibm.com"
}
},
{
"@type": "WebSite",
"@id": "https://docs.datastax.com#website",
"name": "DataStax Documentation",
"url": "https://docs.datastax.com",
"publisher": { "@id": "https://docs.datastax.com#organization" }
},
{{#if (eq "{{{site.url}}}{{{site.homeUrl}}}" page.canonicalUrl)}}
{
"@type": "WebPage",
"@id": "{{page.canonicalUrl}}",
"name": "{{page.title}}",
"inLanguage": "en-US",
"isPartOf": { "@id": "https://docs.datastax.com#website" },
"publisher": { "@id": "https://docs.datastax.com#organization" },
"primaryImageOfPage": "{{{site.url}}}{{{site.ui.url}}}/img/datastax-docs-banner.png"
}
{{else}}
{
"@type": "WebPage",
"@id": "{{page.canonicalUrl}}",
"name": "{{page.title}}",
"inLanguage": "en-US",
"isPartOf": { "@id": "https://docs.datastax.com#website" },
"reviewedBy": { "@id": "https://docs.datastax.com#organization" },
"author": { "@id": "https://docs.datastax.com#organization" },
"mainEntity": {
"@type": "TechArticle",
"@id": "{{page.canonicalUrl}}#main_content",
"mainEntityOfPage": true,
"datePublished": "{{page.localdate}}",
"dateModified": "{{page.docdate}}",
"headline": "{{page.title}}",
"description": "{{page.description}}",
"keywords": "{{page.keywords}}",
"image": "{{{site.url}}}{{{site.ui.url}}}/img/datastax-docs-banner.png",
"publisher": { "@id": "https://docs.datastax.com#organization" },
"author": { "@id": "https://docs.datastax.com#organization" }
}
}
{{/if}}
]
}
</script>