Simplified configuration script
diff --git a/lib/Kalamar.pm b/lib/Kalamar.pm
index a9dd538..0ffe83d 100644
--- a/lib/Kalamar.pm
+++ b/lib/Kalamar.pm
@@ -54,10 +54,29 @@
$self->log->warn('Please create a kalamar.secret file');
};
+ # Configuration framework
+ $self->plugin('Config' => {
+ default => {
+ Localize => {
+ resources => ['kalamar.dict']
+ },
+ },
+ 'TagHelpers-Pagination' => {
+ prev => '<span><span><</span></span>',
+ next => '<span><span><</span></span>',
+ ellipsis => '<a class="ellipsis"><span><span>...</span></span></a>',
+ separator => '',
+ current => '<span>{current}</span>',
+ page => '<span>{page}</span>'
+ },
+ Notifications => {
+ 'Kalamar::Plugin::Notifications' => 1,
+ JSON => 1
+ }
+ });
# Load plugins
foreach (
- 'Config', # Configuration framework
'Localize', # Localization framework
'Notifications', # Client notifications
'Search', # Abstract Search framework