docs(config): improve search and compatibility section comments in hugo.toml

This commit is contained in:
Cell
2026-07-12 04:36:17 +08:00
parent 6188165504
commit b95a29e6e4
2 changed files with 5 additions and 3 deletions
+4 -2
View File
@@ -1247,12 +1247,14 @@ absolute_url = false
# Whether to enable anchorify for headings in search results.
anchorify = true
# Algolia search configuration.
[params.search.algolia]
index = ""
app_id = ""
search_key = ""
# https://fusejs.io/api/options.html
# Fuse.js search configuration.
# See: [Fuse.js options](https://fusejs.io/api/options.html)
[params.search.fuse]
is_case_sensitive = false
min_match_char_length = 2
@@ -1738,7 +1740,7 @@ data = ""
# Compatibility configuration.
[params.compatibility]
# Whether to use Polyfill.io on cdnjs to be compatible with older browsers.
# https://cdnjs.cloudflare.com/polyfill.
# See: https://cdnjs.cloudflare.com/polyfill.
polyfill = false
# Whether to use object-fit-images to be compatible with older browsers.
object_fit = false
+1 -1
View File
@@ -1,4 +1,4 @@
{{- hugo.Store.Set "version" "v1.0.0-mrg7pi5y" -}}
{{- hugo.Store.Set "version" "v1.0.0-mrgtrffv" -}}
{{- .Store.Set "this" dict -}}
{{- partial "init/detection-env.html" . -}}