mirror of
https://github.com/getgrav/grav.git
synced 2026-02-23 07:01:26 +01:00
50 lines
2.6 KiB
YAML
50 lines
2.6 KiB
YAML
home:
|
|
alias: '/home' # Default path for home, ie /
|
|
|
|
pages:
|
|
theme: antimatter # Default theme (defaults to "antimatter" theme)
|
|
markdown_extra: false # Enable support for Markdown Extra support (GFM by default)
|
|
order:
|
|
by: defaults # Order pages by "default", "alpha" or "date"
|
|
dir: asc # Default ordering direction, "asc" or "desc"
|
|
list:
|
|
count: 20 # Default item count per page
|
|
dateformat:
|
|
short: 'jS M Y' # Short date format
|
|
long: 'F jS \a\t g:ia' # Long date format
|
|
process:
|
|
markdown: true # Process Markdown
|
|
twig: false # Process Twig
|
|
events:
|
|
page: true # Enable page level events
|
|
twig: true # Enable twig level events
|
|
|
|
cache:
|
|
enabled: true # Set to true to enable caching
|
|
check:
|
|
method: file # Method to check for updates in pages: file|folder|none
|
|
driver: auto # One of: auto|file|apc|xcache|memcache|wincache
|
|
prefix: 'g' # Cache prefix string (prevents cache conflicts)
|
|
|
|
twig:
|
|
cache: true # Set to true to enable twig caching
|
|
debug: false # Enable Twig debug
|
|
auto_reload: true # Refresh cache on changes
|
|
autoescape: false # Autoescape Twig vars
|
|
|
|
assets: # Configuration for Assets Manager (JS, CSS)
|
|
css_pipeline: false # The CSS pipeline is the unification of multiple CSS resources into one file
|
|
css_minify: true # Minify the CSS during pipelining
|
|
css_rewrite: true # Rewrite any CSS relative URLs during pipelining
|
|
js_pipeline: false # The JS pipeline is the unification of multiple JS resources into one file
|
|
js_minify: true # Minify the JS during pipelining
|
|
|
|
debugger:
|
|
enabled: false # Enable Grav debugger and following settings
|
|
mode: detect # Mode tracy Debugger should be set to when enabled: detect|development|production
|
|
strict: false # Throw fatal error also on PHP warnings and notices
|
|
max_depth: 10 # How many nested levels to display for objects or arrays
|
|
log:
|
|
enabled: true # Enable logging
|
|
timing: false # Enable timing logging
|