forked from whiskyechobravo/kerkoapp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.test.toml
174 lines (141 loc) · 3.45 KB
/
config.test.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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
# phds.io.test
ZOTERO_LIBRARY_ID = "5673591"
ZOTERO_LIBRARY_TYPE = "group"
BABEL_DEFAULT_LOCALE = "en_US"
BABEL_DEFAULT_TIMEZONE = "Australia/Sydney"
SHOW_PROCESSING_TIME = true
# 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 = 100
open_in_zotero_app = false
open_in_zotero_web = false
print_item = true
print_results = true
print_results_max_count = 0
relations_links = false
relations_initial_limit = 5
relations_sort = "author_asc"
results_abstracts = true
results_abstracts_max_length = 0
results_abstracts_max_length_leeway = 0
results_abstracts_toggler = true
results_attachment_links = false
results_url_links = true
[kerko.feeds]
formats = []
fields = ["id", "data"]
max_days = 0
[kerko.meta]
title = "PhDs.io"
[kerko.pagination]
page_len = 7
pager_links = 5
[kerko.breadcrumb]
enabled = true
include_current = true
text_max_length = 50
text_max_length_leeway = 10
[kerko.link_groups]
[[kerko.link_groups.navbar]]
text = "Home"
type = "endpoint"
endpoint = "kerko.search"
[[kerko.link_groups.navbar]]
text = "About"
type = "url"
url = "/about"
[[kerko.link_groups.breadcrumb_base]]
text = "PhDs.io"
type = "url"
url = "/"
[kerko.performance]
whoosh_index_memory_limit = 256
whoosh_index_processors = 2
[kerko.zotero]
# csl_style = "apa"
csl_style = "apa-no-doi-no-issue"
locale = "en-US"
item_include_re = ''
item_exclude_re = ''
child_include_re = ''
child_exclude_re = '^_'
attachment_mime_types = ["application/pdf"]
tag_include_re = '\[Topic\] (?P<kerko>.*)'
tag_exclude_re = '^_'
[kerko.search]
fulltext = false
whoosh_language = "en"
[kerko.facets]
[kerko.facets.journals]
enabled = true
type = "collection"
collection_key = "54VXDCHX"
filter_key = "journal"
title = "Journals"
weight = 50
initial_limit = 10
initial_limit_leeway = 2
[kerko.facets.rankings]
enabled = false
type = "collection"
collection_key = "Z76F9NJW"
filter_key = "ranking"
title = "Ranking"
weight = 65
initial_limit = 10
initial_limit_leeway = 2
[kerko.facets.oa]
enabled = false
type = "collection"
collection_key = "JKQ8PAV4"
filter_key = "oa"
title = "Open Access"
weight = 75
initial_limit = 10
initial_limit_leeway = 2
[kerko.facets.tag]
enabled = true
weight = 100
initial_limit = 10
initial_limit_leeway = 2
sort_by = ["count"]
[kerko.facets.item_type]
enabled = false
weight = 200
initial_limit = 0
initial_limit_leeway = 2
sort_by = ["label"]
[kerko.facets.year]
enabled = true
weight = 70
initial_limit = 5
initial_limit_leeway = 2
sort_by = ["label"]
[kerko.templates]
base = "kerkoapp/base.html.jinja2"
layout = "kerkoapp/layout.html.jinja2"
item = "kerkoapp/item.html.jinja2"
search = "kerkoapp/search.html.jinja2"
# My own config
# These must be defined.
[custom]
show_macquarie_logo = false
# DO NOT DISPLAY PDF!!!
show_document = false
# Show Open Access, however.
show_open_access = true
open_access_tag = "[Open Access]"
# Ranking tags
ft50_tag = "[Ranking] FT50"
utd24_tag = "[Ranking] UTD24"
abdc_tag = "[Ranking] ABDC-A*" # Only tag A*
# Flash message / Announcement
show_flash_message = true
flash_message_path = "flash_message.txt"
[open_graph]
og_title = "PhDs.io - Knowledge that Transforms"
og_description = "Navigate high-quality research papers in finance, economics, accounting, and related fields. PhDs.io offers a simplified literature discovery experience."