config.php.template 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <?php
  2. /**
  3. * Pico configuration
  4. *
  5. * This is the configuration file for {@link Pico}. It comes loaded with the
  6. * default values, which can be found in {@link Pico::getConfig()} (see
  7. * {@path "lib/Pico.php"}).
  8. *
  9. * To override any of the default settings below, copy this file to
  10. * {@path "config/config.php"}, uncomment the line, then make and
  11. * save your changes.
  12. *
  13. * @link http://picocms.org
  14. * @license http://opensource.org/licenses/MIT The MIT License
  15. * @version 1.1
  16. */
  17. /*
  18. * BASIC
  19. */
  20. // $config['site_title'] = 'Pico'; // Site title
  21. // $config['base_url'] = ''; // Override base URL (e.g. http://example.com/pico/)
  22. // $config['rewrite_url'] = null; // A boolean indicating forced URL rewriting
  23. /*
  24. * THEME
  25. */
  26. // $config['theme'] = 'default'; // Set the theme (defaults to "default")
  27. // $config['theme_url'] = ''; // Override the base URL of the themes folder (e.g. http://example.com/pico/themes/)
  28. // $config['theme_config'] = array( // Settings of the theme; depends on the theme used
  29. // 'widescreen' => false // Default theme: Allocate more horicontal space (i.e. make the site container wider)
  30. // );
  31. // $config['twig_config'] = array( // Twig settings
  32. // 'cache' => false, // To enable Twig caching change this to a path to a writable directory
  33. // 'autoescape' => false, // Auto-escape Twig vars
  34. // 'debug' => false // Enable Twig debug
  35. // );
  36. /*
  37. * CONTENT
  38. */
  39. // $config['date_format'] = '%D %T'; // Set the PHP date format as described here: http://php.net/manual/en/function.strftime.php
  40. // $config['pages_order_by'] = 'alpha'; // Order pages by "alpha" or "date"
  41. // $config['pages_order'] = 'asc'; // Order pages "asc" or "desc"
  42. // $config['content_dir'] = 'content-sample/'; // Content directory
  43. // $config['content_ext'] = '.md'; // File extension of content files to serve
  44. /*
  45. * TIMEZONE
  46. */
  47. // $config['timezone'] = 'UTC'; // Timezone may be required by your php install
  48. /*
  49. * PLUGINS
  50. */
  51. // $config['DummyPlugin.enabled'] = false; // Force DummyPlugin to be disabled
  52. /*
  53. * CUSTOM
  54. */
  55. // $config['custom_setting'] = 'Hello'; // Can be accessed by {{ config.custom_setting }} in a theme