|
1 | | - {{!-- Add additional meta tags here --}} |
| 1 | +{{!-- Favicon / social --}} |
| 2 | +<link rel="icon" href="https://www.ibm.com/favicon.ico"> |
2 | 3 |
|
3 | | - {{!-- apple touch icon --}} |
4 | | - {{!-- <link rel="apple-touch-icon" sizes="180x180" href="https://www.datastax.com/en/astra/_/img/apple-touch-icon-180x180.png"> --}} |
5 | | - <link rel="icon" href="https://www.datastax.com/favicon.ico"> |
6 | | - <meta property="article:published_time" content="{{page.localdate}}"> |
7 | | - <meta property="article:modified_time" content="{{page.docdate}}"> |
8 | | - <meta property="article:author" content="DataStax"> |
9 | | - {{!-- og --}} |
10 | | - <meta property="og:site_name" content="DataStax Documentation"> |
11 | | - <meta property="og:type" content="article"> |
12 | | - <meta property="og:url" content="{{page.canonicalUrl}}"> |
13 | | - <meta property="og:title" content="{{> head-title}}"> |
14 | | - <meta property="og:description" content="{{page.description}}"> |
15 | | - <meta property="og:image" content="{{{site.url}}}{{{site.ui.url}}}/img/datastax-docs-banner.png"> |
16 | | - <meta property="og:image:type" content="image/png"> |
17 | | - <meta property="og:image:width" content="1200"> |
18 | | - <meta property="og:image:height" content="628"> |
19 | | - <meta property="og:image:alt" content="DataStax Documentation"> |
20 | | - {{!-- twitter --}} |
21 | | - <meta name="twitter:card" content="summary_large_image"> |
22 | | - <meta name="twitter:site" content="@datastax"> |
23 | | - <meta name="twitter:creator" content="@datastax"> |
24 | | - <meta name="twitter:url" content="{{page.canonicalUrl}}"> |
25 | | - <meta name="twitter:title" content="{{> head-title}}"> |
26 | | - <meta name="twitter:description" content="{{page.description}}"> |
27 | | - <meta name="twitter:image" content="{{{site.url}}}{{{site.ui.url}}}/img/datastax-docs-banner.png"> |
28 | | - <script type="application/ld+json"> |
29 | | - [ |
30 | | - {{!-- {{commented expressions}} --}} |
31 | | - {{#if (eq "{{{site.url}}}{{{site.homeUrl}}}" page.canonicalUrl)}} |
| 4 | +{{!-- Article meta --}} |
| 5 | +<meta property="article:published_time" content="{{page.localdate}}"> |
| 6 | +<meta property="article:modified_time" content="{{page.docdate}}"> |
| 7 | +<meta property="article:author" content="DataStax"> |
| 8 | + |
| 9 | +{{!-- Open Graph --}} |
| 10 | +{{#if (eq "{{{site.url}}}{{{site.homeUrl}}}" page.canonicalUrl)}} |
| 11 | +<meta property="og:type" content="website"> |
| 12 | +{{else}} |
| 13 | +<meta property="og:type" content="article"> |
| 14 | +{{/if}} |
| 15 | +<meta property="og:site_name" content="DataStax Documentation"> |
| 16 | +<meta property="og:url" content="{{page.canonicalUrl}}"> |
| 17 | +<meta property="og:title" content="{{> head-title}}"> |
| 18 | +<meta property="og:description" content="{{page.description}}"> |
| 19 | +<meta property="og:image" content="{{{site.url}}}{{{site.ui.url}}}/img/datastax-docs-banner.png"> |
| 20 | +<meta property="og:image:type" content="image/png"> |
| 21 | +<meta property="og:image:width" content="1200"> |
| 22 | +<meta property="og:image:height" content="628"> |
| 23 | +<meta property="og:image:alt" content="DataStax Documentation"> |
| 24 | + |
| 25 | +{{!-- Twitter / X --}} |
| 26 | +<meta name="twitter:card" content="summary_large_image"> |
| 27 | +<meta name="twitter:url" content="{{page.canonicalUrl}}"> |
| 28 | +<meta name="twitter:title" content="{{> head-title}}"> |
| 29 | +<meta name="twitter:description" content="{{page.description}}"> |
| 30 | +<meta name="twitter:image" content="{{{site.url}}}{{{site.ui.url}}}/img/datastax-docs-banner.png"> |
| 31 | + |
| 32 | +<script type="application/ld+json"> |
32 | 33 | { |
33 | | - "@context": "https://schema.org", |
34 | | - "@type": "WebSite", |
35 | | - "@id": "https://docs.datastax.com", |
36 | | - "name": "DataStax Documentation", |
37 | | - "url": "{{page.canonicalUrl}}", |
38 | | - "image": "{{{site.url}}}{{{site.ui.url}}}/img/datastax-docs-banner.png", |
| 34 | + "@context": "https://schema.org", |
| 35 | + "@graph": [ |
| 36 | + { |
| 37 | + "@type": "Organization", |
| 38 | + "@id": "https://docs.datastax.com#organization", |
| 39 | + "name": "DataStax", |
| 40 | + "url": "https://docs.datastax.com", |
| 41 | + "logo": "{{{site.url}}}{{{site.ui.url}}}/img/datastax-docs-banner.png", |
39 | 42 | "sameAs": [ |
40 | | - "https://github.com/datastaxdevs/", |
41 | | - "https://twitter.com/datastaxdevs", |
42 | | - "https://datastax.medium.com/" |
43 | | - ], |
44 | | - "potentialAction": { |
45 | | - "@type": "SearchAction", |
46 | | - "target": "https://www.datastax.com/search?dataset=docs&query={search_term}", |
47 | | - "query-input": "required name=search_term" |
| 43 | + "https://www.ibm.com/products/datastax", |
| 44 | + "https://github.com/datastax/", |
| 45 | + "https://github.com/datastaxdevs/", |
| 46 | + "https://www.youtube.com/@DataStax", |
| 47 | + "https://www.youtube.com/@DataStaxDevs", |
| 48 | + "https://en.wikipedia.org/wiki/DataStax" |
| 49 | + ], |
| 50 | + "parentOrganization": { |
| 51 | + "@type": "Organization", |
| 52 | + "@id": "https://www.ibm.com#organization", |
| 53 | + "name": "IBM", |
| 54 | + "url": "https://www.ibm.com" |
| 55 | + } |
48 | 56 | }, |
49 | | - "Publisher":{ |
50 | | - "@type": "Corporation", |
51 | | - "@id": "https://datastax.com#organization", |
52 | | - "name": "DataStax", |
53 | | - "url": "https://datastax.com" |
| 57 | + { |
| 58 | + "@type": "WebSite", |
| 59 | + "@id": "https://docs.datastax.com#website", |
| 60 | + "name": "DataStax Documentation", |
| 61 | + "url": "https://docs.datastax.com", |
| 62 | + "publisher": { "@id": "https://docs.datastax.com#organization" } |
54 | 63 | }, |
55 | | - "Author":{ |
56 | | - "@type": "Corporation", |
57 | | - "@id": "https://datastax.com#organization", |
58 | | - "name": "DataStax" |
59 | | - } |
60 | | - }, |
61 | | - {{else}} |
62 | | - { |
63 | | - "@context": "https://schema.org", |
| 64 | + {{#if (eq "{{{site.url}}}{{{site.homeUrl}}}" page.canonicalUrl)}} |
| 65 | + { |
64 | 66 | "@type": "WebPage", |
65 | 67 | "@id": "{{page.canonicalUrl}}", |
66 | | - "name":"{{page.title}}", |
67 | | - "inLanguage":"en-US", |
68 | | - "reviewedBy":{ |
69 | | - "@type": "Corporation", |
70 | | - "@id": "https://datastax.com#organization", |
71 | | - "name": "DataStax" |
72 | | - }, |
73 | | - "author":{ |
74 | | - "@type": "Corporation", |
75 | | - "@id": "https://datastax.com#organization", |
76 | | - "name": "DataStax" |
77 | | - }, |
78 | | - "isPartOf": { |
79 | | - "@type": "WebSite", |
80 | | - "@id": "https://docs.datastax.com", |
81 | | - "name": "DataStax Documentation" |
82 | | - }, |
83 | | - "mainEntity": |
| 68 | + "name": "{{page.title}}", |
| 69 | + "inLanguage": "en-US", |
| 70 | + "isPartOf": { "@id": "https://docs.datastax.com#website" }, |
| 71 | + "publisher": { "@id": "https://docs.datastax.com#organization" }, |
| 72 | + "primaryImageOfPage": "{{{site.url}}}{{{site.ui.url}}}/img/datastax-docs-banner.png" |
| 73 | + } |
| 74 | + {{else}} |
84 | 75 | { |
85 | | - "@type":"TechArticle", |
| 76 | + "@type": "WebPage", |
| 77 | + "@id": "{{page.canonicalUrl}}", |
| 78 | + "name": "{{page.title}}", |
| 79 | + "inLanguage": "en-US", |
| 80 | + "isPartOf": { "@id": "https://docs.datastax.com#website" }, |
| 81 | + "reviewedBy": { "@id": "https://docs.datastax.com#organization" }, |
| 82 | + "author": { "@id": "https://docs.datastax.com#organization" }, |
| 83 | + "mainEntity": { |
| 84 | + "@type": "TechArticle", |
86 | 85 | "@id": "{{page.canonicalUrl}}#main_content", |
87 | | - "mainEntityOfPage": "true", |
88 | | - "datePublished":"{{page.localdate}}", |
89 | | - "dateModified":"{{page.docdate}}", |
| 86 | + "mainEntityOfPage": true, |
| 87 | + "datePublished": "{{page.localdate}}", |
| 88 | + "dateModified": "{{page.docdate}}", |
90 | 89 | "headline": "{{page.title}}", |
91 | | - "description":"{{page.description}}", |
92 | | - "keywords":"{{page.keywords}}", |
| 90 | + "description": "{{page.description}}", |
| 91 | + "keywords": "{{page.keywords}}", |
93 | 92 | "image": "{{{site.url}}}{{{site.ui.url}}}/img/datastax-docs-banner.png", |
94 | | - "publisher":{ |
95 | | - "@type": "Corporation", |
96 | | - "@id": "https://datastax.com#organization", |
97 | | - "name": "DataStax", |
98 | | - "url": "https://datastax.com" |
99 | | - }, |
100 | | - "author":{ |
101 | | - "@type": "Corporation", |
102 | | - "@id": "https://datastax.com#organization", |
103 | | - "name": "DataStax", |
104 | | - "url": "https://datastax.com" |
105 | | - } |
| 93 | + "publisher": { "@id": "https://docs.datastax.com#organization" }, |
| 94 | + "author": { "@id": "https://docs.datastax.com#organization" } |
| 95 | + } |
106 | 96 | } |
107 | | - } |
108 | | - {{/if}} |
| 97 | + {{/if}} |
109 | 98 | ] |
| 99 | + } |
110 | 100 | </script> |
0 commit comments