forked from xsawyerx/PearlBee
-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.yml
109 lines (97 loc) · 2.78 KB
/
config.yml
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
# This is the main configuration file of your Dancer2 app
# env-related settings should go to environments/$env.yml
# all the settings in this file will be loaded at Dancer's startup.
# Your application's name
appname: "PearlBee"
# The default layout to use for your application (located in
# views/layouts/main.tt)
layout: "main"
# when the charset is set to UTF-8 Dancer2 will handle for you
# all the magic of encoding and decoding. You should not care
# about unicode within your app when this setting is set (recommended).
charset: "UTF-8"
# template engine
# simple: default and very basic template engine
# template_toolkit: TT
session: "YAML"
#Logging
#logger: "file"
#log: "error"
template: "Handlebars"
engines:
template:
template_toolkit:
extension: 'tt'
encoding: 'utf8'
start_tag: '[%'
end_tag: '%]'
Handlebars:
path:
- themes/casper
- themes/casper/partials
- views
verbose: 1
session:
YAML:
session_dir: "/tmp/pearlbee"
plugins:
Mailer::PearlBee:
from: 'The PearlBee Team <[email protected]>'
DBIC:
default:
dsn: DEFAULT_DATABASE
schema_class: 'PearlBee::Model::Schema'
Auth::PearlBee:
permissions:
author:
can:
- view_post
- create_post
- publish_post
- update_post
- delete_post
- view_category
- create_category
- update_category
- delete_category
- view_comment
- update_comment
- view_tag
- update_tag
- delete_tag
- view_setting
- update_setting
limited_author:
all_from:
- author
except:
- publish_post
admin:
all_from:
- author
can:
- global_settings
- view_user
- create_user
- update_user
- delete_user
- allow_user
- import
comments: disqus
comments_engines:
disqus:
shortname: mydisqusshortname
# Constants
captcha_folder : 'public/captcha/'
covers_folder: 'public/uploads/covers/'
import_folder: 'public/uploads/import/'
images_folder: 'public/uploads/images/'
images_path: '/uploads/images'
timezone: 'Europe/Amsterdam'
# Specifics
posts_on_page: 5
captcha_enabled: 1 # use 1 to enable captchas
site:
name: "blogs.perl.org"
tagline: "There's more than one way to blog it"
logo: "/images/camel-silhouette-white.png"