-
Notifications
You must be signed in to change notification settings - Fork 24
/
sample.config.toml
146 lines (117 loc) · 3.14 KB
/
sample.config.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
# Sample config.toml file to show the most frequently used configuration parameters.
ZOTERO_LIBRARY_ID = "0000000" # Set this to your Zotero library ID.
ZOTERO_LIBRARY_TYPE = "group" # Set to "user" for a personal library.
BABEL_DEFAULT_LOCALE = "en_US"
BABEL_DEFAULT_TIMEZONE = "UTC"
# Most parameters have a default value. Deleting such parameter from this file
# will not disable it but merely reset it to its default value.
[kerko.features]
download_attachment_new_window = false
download_item = true
download_results = true
download_results_max_count = 0
open_in_zotero_app = false
open_in_zotero_web = false
print_item = false
print_results = false
print_results_max_count = 0
relations_links = false
relations_initial_limit = 5
relations_sort = "author_asc"
results_abstracts = false
results_abstracts_max_length = 0
results_abstracts_max_length_leeway = 0
results_abstracts_toggler = true
results_attachment_links = true
results_url_links = true
[kerko.feeds]
formats = ["atom"]
max_days = 0
[kerko.meta]
title = "KerkoApp"
highwirepress_tags = true
google_analytics_id = ""
[kerko.pagination]
page_len = 20
pager_links = 4
[kerko.breadcrumb]
enabled = true
include_current = true
text_max_length = 50
text_max_length_leeway = 10
[kerko.link_groups]
[[kerko.link_groups.navbar]]
text = "My Bibliography"
type = "endpoint"
endpoint = "kerko.search"
[[kerko.link_groups.breadcrumb_base]]
text = "My Organization"
type = "url"
url = "http://example.com"
[[kerko.link_groups.breadcrumb_base]]
text = "My Project"
type = "url"
url = "http://example.com/project"
[[kerko.link_groups.breadcrumb_base]]
text = "My Bibliography"
type = "endpoint"
endpoint = "kerko.search"
[kerko.zotero]
csl_style = "apa"
locale = "en-US"
item_include_re = ''
item_exclude_re = ''
child_include_re = ''
child_exclude_re = '^_'
attachment_mime_types = ["application/pdf"]
tag_include_re = ''
tag_exclude_re = '^_'
[kerko.search]
fulltext = true
whoosh_language = "en"
[kerko.facets]
[kerko.facets.tag]
enabled = true
weight = 100
initial_limit = 10
initial_limit_leeway = 2
sort_by = ["label"]
[kerko.facets.item_type]
enabled = true
weight = 200
initial_limit = 0
initial_limit_leeway = 2
sort_by = ["label"]
[kerko.facets.year]
enabled = true
weight = 300
initial_limit = 0
initial_limit_leeway = 2
sort_by = ["label"]
[kerko.facets.language]
enabled = true
weight = 320
initial_limit = 10
initial_limit_leeway = 2
sort_by = ["label"]
values_separator_re = ";"
normalize = true
locale = "en"
allow_invalid = true
[kerko.facets.link]
enabled = false
weight = 400
sort_by = ["label"]
# This shows how a collection-based facet might be configured.
[kerko.facets.my_custom_facet]
enabled = false # No effect unless this is set to true.
type = "collection"
collection_key = "AAAAAAAA"
filter_key = "my_custom_facet"
title = "My custom facet"
weight = 50
initial_limit = 10
initial_limit_leeway = 2
sort_by = ["count", "label"]
sort_reverse = false
item_view = true