842c05824a
[New] Added ability to order pages by "alpha" or "date" (asc or desc) [New] Added prev_page, current_page, next_page and is_front_page template vars [New] Added "Author" and "Date" title meta fields [Changed] Added "twig_config" to settings [Changed] Updated documentation [Fixed] Query string 404 bug
24 lines
No EOL
824 B
PHP
24 lines
No EOL
824 B
PHP
<?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"
|
|
|
|
// To add a custom config setting:
|
|
|
|
$config['custom_setting'] = 'Hello'; // Can be accessed by {{ config.custom_setting }} in a theme
|
|
|
|
*/
|
|
|
|
?>
|