aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/plugins/indexedsearch/config_spec.ini
blob: a30a2bf5d40fcaf70bc110d068a3f467a8b6d8e5 (plain)
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
[plugin_spec]
## Search link display style
#
# Specify the display style of the search link in the header row. Accepted
# values include:
#
# SEARCH_LINK_STYLE = 'form'
#  A search form is displayed in the header row. This is the default value.
#
# SEARCH_LINK_STYLE = 'link'
#  Search link is display as a normal link in the header row, matching the
#  style of the Log in link.
#
# SEARCH_LINK_STYLE = 'button'
#  Search link is displayed as an action button in the header row, matching the
#  style of the user action button for a logged-in user.
#
# SEARCH_LINK_STYLE = 'none'
#  Search link is not displayed in the header row. Specify this value if you
#  prefer to create your own link to /search/ in a user_dev template.
#
SEARCH_LINK_STYLE = string(default='form')

# Whether or not non-users can search for content
USERS_ONLY = boolean(default=True)

# Which backend would you like to use?
BACKEND = string(default="mediagoblin.plugins.indexedsearch.backends.whoosh")
INDEX_DIR = string(default="%(here)s/user_dev/searchindex/")