mirror of
https://github.com/getgrav/grav.git
synced 2026-02-01 20:30:19 +01:00
87 lines
4.6 KiB
YAML
87 lines
4.6 KiB
YAML
absolute_urls: false # Absolute or relative URLs for `base_url`
|
|
timezone: '' # Valid values: http://php.net/manual/en/timezones.php
|
|
param_sep: ':' # Parameter separator, use ';' for Apache on windows
|
|
|
|
home:
|
|
alias: '/home' # Default path for home, ie /
|
|
|
|
pages:
|
|
theme: antimatter # Default theme (defaults to "antimatter" theme)
|
|
order:
|
|
by: default # 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
|
|
publish_dates: true # automatically publish/unpublish based on dates
|
|
process:
|
|
markdown: true # Process Markdown
|
|
twig: false # Process Twig
|
|
events:
|
|
page: true # Enable page level events
|
|
twig: true # Enable twig level events
|
|
markdown:
|
|
extra: false # Enable support for Markdown Extra support (GFM by default)
|
|
auto_line_breaks: false # Enable automatic line breaks
|
|
auto_url_links: false # Enable automatic HTML links
|
|
escape_markup: false # Escape markup tags into entities
|
|
special_chars: # List of special characters to automatically convert to entities
|
|
'>': 'gt'
|
|
'<': 'lt'
|
|
types: 'txt|xml|html|json|rss|atom' # Pipe separated list of valid page types
|
|
expires: 0 # Page expires time in seconds (604800 seconds = 7 days)
|
|
last_modified: false # Set the last modified date header based on file modifcation timestamp
|
|
etag: false # Set the etag header tag
|
|
|
|
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)
|
|
lifetime: 604800 # Lifetime of cached data in seconds (0 = infinite)
|
|
gzip: false # GZip compress the page output
|
|
|
|
|
|
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
|
|
undefined_functions: true # Allow undefined functions
|
|
undefined_filters: true # Allow undefined filters
|
|
|
|
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_minify_windows: false # Minify Override for Windows platforms. False by default due to ThreadStackSize
|
|
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
|
|
enable_asset_timestamp: false # Enable asset timestamps
|
|
collections:
|
|
jquery: system://assets/jquery/jquery-2.1.3.min.js
|
|
|
|
errors:
|
|
display: true # Display full backtrace-style error page
|
|
log: true # Log errors to /logs folder
|
|
|
|
debugger:
|
|
enabled: false # Enable Grav debugger and following settings
|
|
twig: true # Enable debugging of Twig templates
|
|
shutdown:
|
|
close_connection: true # Close the connection before calling onShutdown(). false for debugging
|
|
|
|
images:
|
|
default_image_quality: 85 # Default image quality to use when resampling images (85%)
|
|
debug: false # Show an overlay over images indicating the pixel depth of the image when working with retina for example
|
|
|
|
media:
|
|
enable_media_timestamp: false # Enable media timetsamps
|
|
upload_limit: 0 # Set maximum upload size in bytes (0 is unlimited)
|
|
|
|
security:
|
|
default_hash: $2y$10$kwsyMVwM8/7j0K/6LHT.g.Fs49xOCTp2b8hh/S5.dPJuJcJB6T.UK
|