summary refs log tree commit diff
path: root/opensearch.xml
diff options
context:
space:
mode:
authormayx2025-06-30 03:37:06 +0000
committermayx2025-06-30 03:37:06 +0000
commit0e8ac3767377745e4ee8971a328be38cbf77ebf6 (patch)
tree3bbd5351fb379f75402c7838af4c4700a5b02905 /opensearch.xml
parent4de724f972c65ca474994e321b66844ded99f544 (diff)
Update 8 files
- /_layouts/default.html
- /_includes/live2d.html
- /rss.xml
- /search.json
- /opensearch.xml
- /index.html
- /feed.json
- /404.md
Diffstat (limited to 'opensearch.xml')
-rw-r--r--opensearch.xml12
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>