196d3cf283
- move the directory content to content-sample - remove CONTENT_DIR as a define on index.php - create config value "content_dir" and replace all CONTENT_DIR by it's correspondent $config['content_dir'] - add the content_dir config on config.php.template
24 lines
1,004 B
Text
24 lines
1,004 B
Text
<?php
|
|
|
|
/*
|
|
// Override any of the default settings below:
|
|
|
|
$config['site_title'] = 'Pico'; // Site title
|
|
$config['base_url'] = ''; // Override base URL (e.g. http://example.com)
|
|
$config['theme'] = 'default'; // Set the theme (defaults to "default")
|
|
$config['date_format'] = 'jS M Y'; // Set the PHP date format
|
|
$config['twig_config'] = array( // Twig settings
|
|
'cache' => false, // To enable Twig caching change this to CACHE_DIR
|
|
'autoescape' => false, // Autoescape Twig vars
|
|
'debug' => false // Enable Twig debug
|
|
);
|
|
$config['pages_order_by'] = 'alpha'; // Order pages by "alpha" or "date"
|
|
$config['pages_order'] = 'asc'; // Order pages "asc" or "desc"
|
|
$config['excerpt_length'] = 50; // The pages excerpt length (in words)
|
|
$config['content_dir'] = 'content-sample/'; // Content directory.
|
|
|
|
// To add a custom config setting:
|
|
|
|
$config['custom_setting'] = 'Hello'; // Can be accessed by {{ config.custom_setting }} in a theme
|
|
|
|
*/
|