[experimental] add opensearch.xml (#10743)

* [experimental] add opensearch.xml

* Update opensearch.xml
This commit is contained in:
Ivan Blinkov 2020-05-08 16:40:48 +03:00 committed by GitHub
parent 218fcfe9ca
commit 68ce8a0d82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 0 deletions

12
website/opensearch.xml Normal file
View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<OpenSearchDescription xmlns:moz="http://www.mozilla.org/2006/browser/search/"
xmlns="http://a9.com/-/spec/opensearch/1.1/">
<ShortName>ClickHouse</ShortName>
<Description>Search ClickHouse</Description>
<InputEncoding>UTF-8</InputEncoding>
<Image width="16" height="16" type="image/x-icon">https://clickhouse.tech/favicon.ico</Image>
<Url type="text/html" method="GET"
template="https://www.google.com/search?q={searchTerms}+site%3Aclickhouse.tech"/>
<Url type="application/x-suggestions+json" method="GET"
template="https://suggestqueries.google.com/complete/search?output=chrome&amp;q={searchTerms}"/>
</OpenSearchDescription>

View File

@ -14,6 +14,7 @@
<meta property="og:url" content="{{ url or 'https://clickhouse.tech/' }}"/>
<link rel="canonical" href="{{ url or 'https://clickhouse.tech/' }}" />
<link rel="amphtml" href="{{ url or 'https://clickhouse.tech/' }}amp/">
<link rel="search" href="/opensearch.xml" title="ClickHouse" type="application/opensearchdescription+xml" />
{% include "templates/docs/ld_json.html" %}
<meta name="description" content="{{ description }}"/>