-
Notifications
You must be signed in to change notification settings - Fork 29
/
config.php
59 lines (51 loc) · 1.88 KB
/
config.php
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
<?php
/**
* Pico Configuration
*
* This is the configuration file for Pico. It comes loaded with the
* default values, which can be found in the get_config() method of
* the Pico class (lib/pico.php).
*
* @author Gilbert Pellegrom
* @link http://picocms.org
* @license http://opensource.org/licenses/MIT
* @version 0.9
*
* To override any of the default settings below, uncomment the line,
* make and save the changes, then rename this file to `config.php`
*/
/*
* BASIC
*/
$config['site_title'] = 'botwiki'; // Site title
// $config['base_url'] = ''; // Override base URL (e.g. http://example.com)
/*
* THEME
*/
$config['theme'] = 'botwiki'; // Set the theme (defaults to "default")
$config['twig_config'] = array( // Twig settings
'cache' => 'cache', // To enable Twig caching change this to CACHE_DIR
'autoescape' => false, // Autoescape Twig vars
'debug' => true // Enable Twig debug
);
/*
* CONTENT
*/
$config['date_format'] = '%B %e, %Y'; // Set the PHP date format as described here: http://php.net/manual/en/function.strftime.php
$config['pages_order_by'] = 'date'; // Order pages by "alpha" or "date"
$config['pages_order'] = 'desc'; // Order pages "asc" or "desc"
// $config['excerpt_length'] = 50; // The pages excerpt length (in words)
$config['content_dir'] = 'content/'; // Content directory
$config['ptags_template'] = 'index';
$detect = new Mobile_Detect;
$config['is_mobile'] = $detect->isMobile();
/*
* TIMEZONE
*/
date_default_timezone_set('America/New_York'); // Timezone may be reqired by your php install
/*
* CUSTOM
*/
// $config['custom_setting'] = 'Hello'; // Can be accessed by {{ config.custom_setting }} in a theme
// Keep this line
return $config;