-
Notifications
You must be signed in to change notification settings - Fork 0
/
cap.conf
102 lines (77 loc) · 2.28 KB
/
cap.conf
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
# Overrides config in lib/CAP.pm. Is overridden by config in cap_local.conf
#
# BASIC CONFIGURATION
#
# Name of the Catalyst application
name = CAP
# The application root directory
# Note: This is relative to the current directory when you run
root = __path_to(root)__
# Set the default encoding of everything to utf8
# Replaces the deprecated load of Catalyst::Plugin::Unicode::Encoding
encoding = utf8
# Default redirect for URLs sent to CAP without a valid portal
default_url = http://www.canadiana.ca
# Cookie domain for keeping track of language preferences cross-portal
cookie_domain = canadiana.ca
# Look in proxy headers for source name, ip address, etc
# https://metacpan.org/pod/Catalyst#PROXY-SUPPORT
using_frontend_proxy = 1
# Set names for cookie keys. Seems redundant but saves some magic strings in
# code.
<cookies>
lang = lang
clearbanner = clearbanner
</cookies>
# Should the message banner at the top of the header be shown?
show_banner = 1
# Which banner are we "on"? If we need to use this feature more than once,
# we can redisplay it for people who have hidden it.
message_banner = 1
# Which environment the build was built for. (This is a default.)
environment = production
# A default value to the docker image version to display on the /version page
dockerimage = DevelopmentEnvironment
# Languages CAP supports
<languages>
en = English
fr = Français
</languages>
#
# VIEWS
#
# A set of views that are available, in addition to the default view,
<fmt "ajax">
view = Ajax
content_type = text/plain
</fmt>
<fmt "default">
view = Default
content_type = text/html
</fmt>
# COMPONENTS
<Component Model::Depositors>
path = __path_to(conf/depositors.json)__
</Component>
<Component Model::I18N>
path = __path_to(conf/i18n)__
</Component>
<Component Model::Languages>
path = __path_to(conf/iso639-2.json)__
</Component>
<Component Model::Portals>
path = __path_to(conf/portal)__
</Component>
<Component Model::ParlSession>
path = __path_to(conf/parl_session.json)__
</Component>
<Component Model::Presentation>
sitemap_node_limit = 500
</Component>
<Component Controller::Search>
matching_page_limit = 1000
</Component>
<Component Plugin::Static::Simple>
dirs = [ static ]
include_path = [ __path_to(root)__ ]
</Component>