ClickHouse/website/templates/common_meta.html

54 lines
2.6 KiB
HTML
Raw Normal View History

2020-04-17 17:33:32 +00:00
{% set description = description or _('ClickHouse is a fast open-source column-oriented database management system that allows generating analytical data reports in real-time using SQL queries') %}
2020-03-30 08:25:29 +00:00
<meta charset="utf-8" />
2021-09-16 17:43:39 +00:00
<META http-equiv="Content-type" content="text/html; charset=UTF-8">
2020-03-30 08:25:29 +00:00
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
2020-05-25 06:52:39 +00:00
<meta name="viewport" content="width=device-width,initial-scale=1" />
2020-04-17 17:33:32 +00:00
<title>{% if title %}{{ title }}{% else %}{{ _('ClickHouse - fast open-source OLAP DBMS') }}{% endif %}</title>
2020-05-25 06:52:39 +00:00
<link rel="shortcut icon" href="/favicon.ico" />
<link rel="apple-touch-icon" sizes="180x180" href="/docs/images/logo-180x180.png" />
2020-03-30 08:25:29 +00:00
<meta property="og:title" content="{% if title %}{{ title }}{% else %}{{ _('ClickHouse DBMS') }}{% endif %}"/>
2020-05-25 06:52:39 +00:00
<meta property="og:description" content="{{ description }}" />
<meta property="og:type" content="{{ og_type or 'website' }}" />
{% if page and page.meta.image %}
<meta property="og:image" content="{{ page.meta.image}}" />
{% else %}
<meta property="og:image" content="https://clickhouse.com/docs/images/logo.png" />
{% endif %}
2021-09-22 00:22:57 +00:00
<meta property="og:url" content="{{ url or 'https://clickhouse.com/' }}"/>
<link rel="canonical" href="{{ canonical_url or 'https://clickhouse.com/' }}" />
2020-06-16 13:05:09 +00:00
{% if page and not single_page and not is_blog %}
2021-09-22 00:22:57 +00:00
<link rel="amphtml" href="{{ url or 'https://clickhouse.com/' }}amp/" />
2020-05-08 14:33:53 +00:00
{% endif %}
<link rel="search" href="/opensearch.xml" title="ClickHouse" type="application/opensearchdescription+xml" />
{% include "templates/docs/ld_json.html" %}
2020-05-25 06:52:39 +00:00
<meta name="description" content="{{ description }}" />
{% if page and page.meta.tags %}
<meta name="keywords"
content="{% for tag in page.meta.tags %}{{tag}}{{ ', ' if not loop.last }}{% endfor %}" />
{% else %}
<meta name="keywords"
content="ClickHouse, DBMS, OLAP, SQL, {{ _('open-source') }}, {{ _('relational') }}, {{ _('analytics') }}, {{ _('analytical') }}, {{ _('Big Data') }}, {{ _('web-analytics') }}" />
{% endif %}
2020-12-21 20:04:22 +00:00
{% if config and config.extra.single_page %}
2020-05-31 08:23:41 +00:00
<meta name="robots" content="noindex,follow" />
2020-05-31 08:23:25 +00:00
{% endif %}
{% if config and page and not is_blog %}
{% for code, name in config.extra.languages.items() %}
2020-12-21 20:04:22 +00:00
<link rel="alternate" hreflang="{{ code }}" href="{{ config.extra.website_url }}/docs/{{ code }}/{{ page.url }}" />
{% endfor %}
2020-12-21 20:04:22 +00:00
<link rel="alternate" hreflang="x-default" href="{{ config.extra.website_url }}/docs/en/{{ page.url }}" />
{% endif %}
{% for prefetch_item in prefetch_items %}
<link rel="prefetch" href="{{ prefetch_item.0 }}" as="{{ prefetch_item.1 }}" />
{% endfor %}
{% if is_blog %}
<link rel="alternate" type="application/rss+xml" href="{{ config.site_url }}rss.xml" />
{% endif %}