Debian Codegraph @

share/skel/default/config.yml

raw
1 # This is the main configuration file of your Dancer2 app
2 # env-related settings should go to environments/$env.yml
3 # all the settings in this file will be loaded at Dancer's startup.
4
5 # === Basic configuration ===
6
7 # Your application's name
8 appname: "[d2% appname %2d]"
9
10 # The default layout to use for your application (located in
11 # views/layouts/main.tt)
12 layout: "main"
13
14 # when the charset is set to UTF-8 Dancer2 will handle for you
15 # all the magic of encoding and decoding. You should not care
16 # about unicode within your app when this setting is set (recommended).
17 charset: "UTF-8"
18
19 # When strict_config is true, Dancer2 will warn you about unknown
20 # top-level configuration keys, and warn about unknown engine
21 # configuration options.
22 strict_config: 1
23
24 # === Engines ===
25 #
26 # NOTE: All the engine configurations need to be under a single "engines:"
27 # key. If you uncomment engine configurations below, make sure to delete
28 # all "engines:" lines except the first. Otherwise, only the last
29 # "engines:" block will take effect.
30
31 # template engine
32 # tiny: default basic template engine
33 # template_toolkit: TT
34
35 template: "tiny"
36 engines:
37 template:
38 tiny:
39 # Note: start_tag and end_tag are regexes
40 start_tag: '<%'
41 end_tag: '%>'
42
43 # template: "template_toolkit"
44 # engines:
45 # template:
46 # template_toolkit:
47 # # Note: start_tag and end_tag are regexes
48 # start_tag: '<%'
49 # end_tag: '%>'
50
51 # session engine
52 #
53 # Simple: in-memory session store - Dancer2::Session::Simple
54 # YAML: session stored in YAML files - Dancer2::Session::YAML
55 #
56 # Check out metacpan for other session storage options:
57 # https://metacpan.org/search?q=Dancer2%3A%3ASession&search_type=modules
58 #
59 # Default value for 'cookie_name' is 'dancer.session'. If you run multiple
60 # Dancer apps on the same host then you will need to make sure 'cookie_name'
61 # is different for each app.
62 #
63 #engines:
64 # session:
65 # Simple:
66 # cookie_name: testapp.session
67 #
68 #engines:
69 # session:
70 # YAML:
71 # cookie_name: eshop.session
72 # is_secure: 1
73 # is_http_only: 1