summaryrefslogtreecommitdiff
path: root/search.xml
diff options
context:
space:
mode:
authormuqiuhan <[email protected]>2026-03-15 15:09:53 +0000
committermuqiuhan <[email protected]>2026-03-15 15:09:53 +0000
commit25917ed0c1e01b6d7cc2ddac5bfca1c4238e96c2 (patch)
treeb022a85750c903f90ab288b009b61385a35971d5 /search.xml
parent353e53fce4310ed6fbafa818be74831b5dc57f24 (diff)
downloadblog-25917ed0c1e01b6d7cc2ddac5bfca1c4238e96c2.tar.gz
deploy: 6a321a6e20ead9aeea588c009b5445c76260ea92
Diffstat (limited to 'search.xml')
-rw-r--r--search.xml26
1 files changed, 26 insertions, 0 deletions
diff --git a/search.xml b/search.xml
index 52c06b53..63943d9a 100644
--- a/search.xml
+++ b/search.xml
@@ -8385,6 +8385,32 @@ NestJS 依赖其底层 HTTP 适配器(默认为 Express)来解析传入的�
]]></content>
</entry>
<entry>
+ <title>搜索</title>
+ <url>/search/index.html</url>
+ <content><![CDATA[<div class="search-page">
+ <div class="search-input-container">
+ <input autocomplete="off" autocapitalize="off" maxlength="80"
+ placeholder="输入关键词搜索..." spellcheck="false"
+ type="search" class="search-input" id="search-input">
+ </div>
+ <div class="search-result-container" id="search-results">
+ <div class="search-result-message"></div>
+ </div>
+</div>
+<script>
+ const searchConfig = {
+ path : "/search.xml",
+ top_n_per_article: "-1",
+ unescape : "false",
+ trigger: "auto",
+ preload: "false"
+ }
+</script>
+<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/search.js"></script>
+<script src="/js/search.js"></script>
+]]></content>
+ </entry>
+ <entry>
<title>&#39;tag&#39;</title>
<url>/tag/index.html</url>
<content><![CDATA[]]></content>