Sync config/config.yml.template with Pico::loadConfig()
This commit is contained in:
parent
8c8c6e33f7
commit
c9a3f84673
2 changed files with 4 additions and 4 deletions
|
@ -6,7 +6,7 @@ base_url: ~ # Pico will try to guess its base URL, if th
|
|||
# Example: https://example.com/pico/
|
||||
rewrite_url: ~ # A boolean (true or false) indicating whether URL rewriting is forced
|
||||
debug: ~ # Set this to true to enable Pico's debug mode
|
||||
timezone: UTC # Your PHP installation might require you to manually specify a timezone
|
||||
timezone: ~ # Your PHP installation might require you to manually specify a timezone
|
||||
|
||||
##
|
||||
# Theme
|
||||
|
@ -19,7 +19,7 @@ theme_config:
|
|||
twig_config:
|
||||
autoescape: false # Let Twig escape variables by default
|
||||
strict_variables: false # If set to true, Twig will bail out when unset variables are being used
|
||||
debug: false # Enable Twig's debug mode
|
||||
debug: ~ # Enable Twig's debug mode
|
||||
cache: false # Enable Twig template caching by specifying a path to a writable directory
|
||||
auto_reload: ~ # Recompile Twig templates whenever the source code changes
|
||||
|
||||
|
|
|
@ -910,7 +910,6 @@ class Pico
|
|||
'rewrite_url' => null,
|
||||
'debug' => null,
|
||||
'timezone' => null,
|
||||
'plugins_url' => null,
|
||||
'theme' => 'default',
|
||||
'themes_url' => null,
|
||||
'twig_config' => null,
|
||||
|
@ -922,7 +921,8 @@ class Pico
|
|||
'content_ext' => '.md',
|
||||
'content_config' => null,
|
||||
'assets_dir' => 'assets/',
|
||||
'assets_url' => null
|
||||
'assets_url' => null,
|
||||
'plugins_url' => null
|
||||
);
|
||||
|
||||
if (!$this->config['base_url']) {
|
||||
|
|
Loading…
Add table
Reference in a new issue