-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add seo meta tags
- Loading branch information
Showing
2 changed files
with
109 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,110 @@ | ||
{{!-- Add additional meta tags here --}} | ||
|
||
{{!-- apple touch icon --}} | ||
{{!-- <link rel="apple-touch-icon" sizes="180x180" href="https://www.datastax.com/en/astra/_/img/apple-touch-icon-180x180.png"> --}} | ||
<link rel="icon" href="https://www.datastax.com/favicon.ico"> | ||
<meta property="article:published_time" content="{{page.localdate}}"> | ||
<meta property="article:modified_time" content="{{page.docdate}}"> | ||
<meta property="article:author" content="DataStax"> | ||
{{!-- og --}} | ||
<meta property="og:site_name" content="DataStax Documentation"> | ||
<meta property="og:type" content="article"> | ||
<meta property="og:url" content="{{page.canonicalUrl}}"> | ||
<meta property="og:title" content="{{page.title}} :: {{site.title}}"> | ||
<meta property="og:description" content="{{page.description}}"> | ||
<meta property="og:image" content="https://docs.datastax.com/en/astra/_/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 --}} | ||
<meta name="twitter:card" content="summary_large_image"> | ||
<meta name="twitter:site" content="@datastax"> | ||
<meta name="twitter:creator" content="@datastax"> | ||
<meta name="twitter:url" content="{{page.canonicalUrl}}"> | ||
<meta name="twitter:title" content="{{page.title}} :: {{site.title}}"> | ||
<meta name="twitter:description" content="{{page.description}}"> | ||
<meta name="twitter:image" content="https://docs.datastax.com/en/astra/_/img/datastax-docs-banner.png"> | ||
<script type="application/ld+json"> | ||
[ | ||
{{!-- {{commented expressions}} --}} | ||
{{#if (eq "https://docs.datastax.com/en/astra/home/astra.html" page.canonicalUrl)}} | ||
{ | ||
"@context": "https://schema.org", | ||
"@type": "WebSite", | ||
"@id": "https://docs.datastax.com", | ||
"name": "DataStax Documentation", | ||
"url": "{{page.canonicalUrl}}", | ||
"image": "https://docs.datastax.com/en/astra/_/img/datastax-docs-banner.png", | ||
"sameAs": [ | ||
"https://github.com/datastaxdevs/", | ||
"https://twitter.com/datastaxdevs", | ||
"https://datastax.medium.com/" | ||
], | ||
"potentialAction": { | ||
"@type": "SearchAction", | ||
"target": "https://www.datastax.com/search?dataset=docs&query={search_term}", | ||
"query-input": "required name=search_term" | ||
}, | ||
"Publisher":{ | ||
"@type": "Corporation", | ||
"@id": "https://datastax.com#organization", | ||
"name": "DataStax", | ||
"url": "https://datastax.com" | ||
}, | ||
"Author":{ | ||
"@type": "Corporation", | ||
"@id": "https://datastax.com#organization", | ||
"name": "DataStax" | ||
} | ||
}, | ||
{{else}} | ||
{ | ||
"@context": "https://schema.org", | ||
"@type": "WebPage", | ||
"@id": "{{page.canonicalUrl}}", | ||
"name":"{{page.title}}", | ||
"inLanguage":"en-US", | ||
"reviewedBy":{ | ||
"@type": "Corporation", | ||
"@id": "https://datastax.com#organization", | ||
"name": "DataStax" | ||
}, | ||
"author":{ | ||
"@type": "Corporation", | ||
"@id": "https://datastax.com#organization", | ||
"name": "DataStax" | ||
}, | ||
"isPartOf": { | ||
"@type": "WebSite", | ||
"@id": "https://docs.datastax.com", | ||
"name": "DataStax Documentation" | ||
}, | ||
"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": "https://docs.datastax.com/en/astra/_/img/datastax-docs-banner.png", | ||
"publisher":{ | ||
"@type": "Corporation", | ||
"@id": "https://datastax.com#organization", | ||
"name": "DataStax", | ||
"url": "https://datastax.com" | ||
}, | ||
"author":{ | ||
"@type": "Corporation", | ||
"@id": "https://datastax.com#organization", | ||
"name": "DataStax", | ||
"url": "https://datastax.com" | ||
} | ||
} | ||
} | ||
{{/if}} | ||
] | ||
</script> |