Files
landing_page/qdrant-landing/themes/qdrant/layouts/partials/seo_schema.html
T
trean dd2fa1e8a9 OG data for benchmarks (#76)
* og data for benchmarks

* changed some metadata
2022-08-23 16:42:48 +02:00

106 lines
3.7 KiB
HTML

{{ if .Params.description }}
<meta name="description" content="{{ .Params.Description }}">
{{ else }}
<meta name="description" content="{{ .Site.Params.Description }}">
{{ end }}
{{ if .Params.keywords }}
<meta name="keywords" content="{{ range .Params.Keywords }}{{ . }}, {{ end }} qdrant">
{{ else }}
<meta name="keywords" content="{{ range .Site.Params.Keywords }}{{ . }}, {{ end }} qdrant">
{{ end }}
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Organization",
"name": "Qdrant",
"legalName" : "Qdrant Solutions GmbH",
"url": "https://qdrant.tech",
"email": "info@qdrant.com",
"@id": "https://qdrant.tech",
"logo": "https://qdrant.tech/images/logo_with_text.png",
"headline" : "{{ .Title }}",
"description" : "{{ .Site.Params.description }}",
"keywords" : [ {{ range .Site.Params.Keywords }}"{{ . }}", {{ end }} "Qdrant" ],
"foundingDate": "2021",
"founders": [
{
"@type": "Person",
"name": "{{ .Site.Params.Author }}"
}, {
"@type": "Person",
"name": "Andre Zayarni"
}
],
"location": "Berlin, Germany",
"address": {
"@type": "PostalAddress",
"streetAddress": "Chausseestraße 86",
"addressLocality": "Berlin",
"addressRegion": "Berlin",
"postalCode": "10115",
"addressCountry": "DE"
},
"contactPoint": {
"@type": "ContactPoint",
"contactType": "customer support",
"telephone": "+49 3040797694",
"email": "info@qdrant.com"
},
"sameAs": [
{{ .Site.Params.github }},
{{ .Site.Params.twitter }},
{{ .Site.Params.linkedin }},
{{ .Site.Params.discord }}
],
"mainEntityOfPage": {
"@type": "SoftwareApplication",
"name": "Qdrant",
"applicationCategory": "Vector Search Engine",
"operatingSystem": "linux, macOS",
"downloadUrl": "https://github.com/qdrant/qdrant",
"installUrl": "https://hub.docker.com/r/qdrant/qdrant",
"abstract": "{{ .Site.Params.description }}",
"image": "https://qdrant.tech/images/logo_with_text.png"
}
}
</script>
{{ $url := urls.Parse .Site.BaseURL }}
{{ $domain := index (split $url.Host ".") 0 }}
{{ $title := printf "%s" "Qdrant" | printf "%s%s" " - " | printf "%s%s" .Title | printf "%s" }}
{{ if or ( and (.IsPage) (eq $.Section "blog") ) ( and ($.IsNode) (eq $.Section "") ) }}
{{ $title := .Title }}
{{ end }}
<!-- Facebook Meta Tags -->
<meta property="og:url" content="{{ .Permalink }}">
<meta property="og:type" content="website">
<meta property="og:title" content="{{ $title }}">
<!-- Twitter Meta Tags -->
<meta name="twitter:card" content="summary_large_image">
<meta property="twitter:domain" content="{{ $domain }}">
<meta property="twitter:url" content="{{ .Permalink }}">
<meta name="twitter:title" content="{{ $title }}">
{{ if .Params.description }}
<meta property="og:description" content="{{ .Params.description }}">
<meta name="twitter:description" content="{{ .Params.description }}">
{{ else }}
<meta property="og:description" content="{{ .Site.Params.description }}">
<meta name="twitter:description" content="{{ .Site.Params.description }}">
{{ end }}
<!-- Image -->
{{ if .Params.preview_image }}
<meta name="og:image" content="{{ .Params.preview_image | relURL }}">
<meta name="twitter:image" content="{{ .Params.preview_image | relURL }}">
<meta content="my-check!!">
{{ else }}
<meta name="og:image" content="{{ .Site.Params.preview_image | relURL }}">
<meta name="twitter:image" content="{{ .Site.Params.preview_image | relURL }}">
{{ end }}