Pico/config/config.php.template

62 lines
2.3 KiB
Plaintext
Raw Normal View History

<?php
/**
2015-08-28 16:33:27 +00:00
* Pico configuration
*
2015-08-28 16:33:27 +00:00
* This is the configuration file for {@link Pico}. It comes loaded with the
* default values, which can be found in {@link Pico::getConfig()} (see
* {@path "lib/Pico.php"}).
*
2015-08-28 16:33:27 +00:00
* To override any of the default settings below, copy this file to
2015-10-09 15:08:02 +00:00
* {@path "config/config.php"}, uncomment the line, then make and
2015-08-28 16:33:27 +00:00
* save your changes.
*
* @link http://picocms.org
2016-05-23 13:13:56 +00:00
* @license http://opensource.org/licenses/MIT The MIT License
* @version 1.1
*/
/*
* BASIC
*/
// $config['site_title'] = 'Pico'; // Site title
// $config['base_url'] = ''; // Override base URL (e.g. http://example.com/pico/)
2015-08-28 16:33:27 +00:00
// $config['rewrite_url'] = null; // A boolean indicating forced URL rewriting
/*
* THEME
*/
// $config['theme'] = 'default'; // Set the theme (defaults to "default")
// $config['theme_url'] = ''; // Override the base URL of the themes folder (e.g. http://example.com/pico/themes/)
2016-08-02 00:31:20 +00:00
// $config['theme_config'] = array( // Settings of the theme; depends on the theme used
// 'widescreen' => false // Default theme: Allocate more horicontal space (i.e. make the site container wider)
// );
// $config['twig_config'] = array( // Twig settings
2015-09-28 22:42:04 +00:00
// 'cache' => false, // To enable Twig caching change this to a path to a writable directory
2015-10-09 15:08:02 +00:00
// 'autoescape' => false, // Auto-escape Twig vars
2015-08-28 16:33:27 +00:00
// 'debug' => false // Enable Twig debug
// );
/*
* CONTENT
*/
2015-08-28 16:33:27 +00:00
// $config['date_format'] = '%D %T'; // Set the PHP date format as described here: http://php.net/manual/en/function.strftime.php
// $config['pages_order_by'] = 'alpha'; // Order pages by "alpha" or "date"
// $config['pages_order'] = 'asc'; // Order pages "asc" or "desc"
// $config['content_dir'] = 'content-sample/'; // Content directory
// $config['content_ext'] = '.md'; // File extension of content files to serve
/*
* TIMEZONE
*/
2015-08-28 16:33:27 +00:00
// $config['timezone'] = 'UTC'; // Timezone may be required by your php install
/*
* PLUGINS
*/
// $config['DummyPlugin.enabled'] = false; // Force DummyPlugin to be disabled
/*
* CUSTOM
*/
2015-08-28 16:33:27 +00:00
// $config['custom_setting'] = 'Hello'; // Can be accessed by {{ config.custom_setting }} in a theme