generated from hugomods/template-mod
-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
hugo.toml
65 lines (55 loc) · 1.23 KB
/
hugo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
[outputFormats]
[outputFormats.Search]
baseName = 'index'
path = 'search'
isHTML = true
mediaType = 'text/html'
notAlternative = true
[module]
[module.hugoVersion]
extended = true
min = "0.128.0"
[[module.imports]]
path = "github.com/hugomods/search-index"
[[module.imports]]
path = "github.com/hugomods/i18n-js"
[[module.imports]]
path = "github.com/hugomods/fuse-js"
[[module.imports]]
path = "github.com/hugomods/icons/vendors/bootstrap"
[params.hugopress.modules.search.hooks.head-end]
[params.hugopress.modules.search.hooks.body-end]
[params.search]
sass_transpiler = "dartsass"
modal_container = "body"
modal_toggle_selector = '.search-modal-toggle'
stall_threshold = 300
case_sensitive = false
min_match_char_length = 1
location = 0
threshold = 0.6
distance = 100
ignore_location = false
shortcut_close = ["Escape"]
shortcut_search = ["Control", "k"]
paginate = 20
index_all_pages = false
index_content = false
index_headings = true
index_summary = true
index_taxonomies = true
expand_results_meta = false
lazy_loading = true
filter_taxonomies = true
filter_years = true
histories = true
histories_count = 5
headings_end_level = 6
[params.search.key_weights]
title = 1
summary = 1
headings = 0.5
content = 0.5
lang = 1
year = 1
taxonomies = 0.1