Skip to content

Commit

Permalink
主题更新:支持本地搜索
Browse files Browse the repository at this point in the history
  • Loading branch information
oulh committed Jan 12, 2024
1 parent 6203e64 commit 53ce886
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,9 @@ copyright = "oulh"
url = "https://github.com/oulh/nav"

[permalinks]
404 = "/404.html"
404 = "/404.html"

#是否对本地搜索功能开启拼音匹配(支持首字母),true开启,false禁止。
#拼音检索速度慢一点点;拼音库体积337k,首次访问或清除浏览器缓存后,打开页面会慢一点点。
[params.pinyin]
enable = true

0 comments on commit 53ce886

Please sign in to comment.