diff options
| author | muqiuhan <[email protected]> | 2026-03-15 15:09:53 +0000 |
|---|---|---|
| committer | muqiuhan <[email protected]> | 2026-03-15 15:09:53 +0000 |
| commit | 25917ed0c1e01b6d7cc2ddac5bfca1c4238e96c2 (patch) | |
| tree | b022a85750c903f90ab288b009b61385a35971d5 /search.xml | |
| parent | 353e53fce4310ed6fbafa818be74831b5dc57f24 (diff) | |
| download | blog-25917ed0c1e01b6d7cc2ddac5bfca1c4238e96c2.tar.gz | |
deploy: 6a321a6e20ead9aeea588c009b5445c76260ea92
Diffstat (limited to 'search.xml')
| -rw-r--r-- | search.xml | 26 |
1 files changed, 26 insertions, 0 deletions
@@ -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>'tag'</title> <url>/tag/index.html</url> <content><![CDATA[]]></content> |
