diff options
Diffstat (limited to 'opensearch.xml')
-rw-r--r-- | opensearch.xml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/opensearch.xml b/opensearch.xml new file mode 100644 index 0000000..6d1808d --- /dev/null +++ b/opensearch.xml @@ -0,0 +1,12 @@ +--- +--- + +<?xml version="1.0" encoding="UTF-8"?> +<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/" xmlns:moz="http://www.mozilla.org/2006/browser/search/"> + <ShortName>{{ site.title }}</ShortName> + <Description>搜索 {{ site.title }}</Description> + <InputEncoding>UTF-8</InputEncoding> + <Image width="16" height="16" type="image/x-icon">{{ "/favicon.ico" | absolute_url }}</Image> + <Url type="text/html" method="get" template="{{ "/search.html" | absolute_url }}?keyword={searchTerms}"/> + <moz:SearchForm>{{ "/search.html" | absolute_url }}</moz:SearchForm> +</OpenSearchDescription> |