Add opensearch endpoint and handler

This commit is contained in:
James Mills
2021-02-02 15:12:08 +10:00
parent 3923ff91ba
commit 93cab4c1bc
3 changed files with 39 additions and 0 deletions

View File

@@ -13,6 +13,8 @@
<link rel="icon" type="image/png" href="/img/{{ .Commit}}/favicon.png" />
{{ end }}
<link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="Spyda Search">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />