Add opensearch metadata for browser integration

pull/7/head
Claudi 2021-11-01 19:37:28 +01:00 zatwierdzone przez Alexander Cobleigh
rodzic 6f8cd11af2
commit 76d5f18d49
2 zmienionych plików z 10 dodań i 1 usunięć

Wyświetl plik

@ -0,0 +1,7 @@
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/" xmlns:moz="http://www.mozilla.org/2006/browser/search/">
<ShortName>Lieu</ShortName>
<Description>Lieu - the search for the new—endless</Description>
<InputEncoding>UTF-8</InputEncoding>
<Image width="16" height="16" type="image/x-icon">https://lieu.cblgh.org/assets/favicon.ico</Image>
<Url type="text/html" method="get" template="https://lieu.cblgh.org/?q={searchTerms}"/>
</OpenSearchDescription>

Wyświetl plik

@ -32,6 +32,8 @@
<link rel="canonical" href="https://lieu.cblgh.org/">
<link rel="search" type="application/opensearchdescription+xml" title="Lieu" href="/assets/opensearch.xml">
</head>
<body>
{{ end }}
{{ end }}