Js_minify: true # Minify the JS during pipeliningĮnable_asset_timestamp: false # Enable asset timestamps Js_pipeline: false # The JS pipeline is the unification of multiple JS resources into one file False by default due to ThreadStackSizeĬss_rewrite: true # Rewrite any CSS relative URLs during pipelining Umask_fix: false # By default Twig creates cached files as 755, fix switches this to 775Īssets: # Configuration for Assets Manager (JS, CSS)Ĭss_pipeline: false # The CSS pipeline is the unification of multiple CSS resources into one fileĬss_minify: true # Minify the CSS during pipeliningĬss_minify_windows: false # Minify Override for Windows platforms. Undefined_filters: true # Allow undefined filters Undefined_functions: true # Allow undefined functions Gzip: false # GZip compress the page outputĬache: true # Set to true to enable twig cachingĪuto_reload: true # Refresh cache on changes Lifetime: 604800 # Lifetime of cached data in seconds (0 = infinite) Prefix: 'g' # Cache prefix string (prevents cache conflicts) Method: file # Method to check for updates in pages: file|folder|noneĭriver: auto # One of: auto|file|apc|xcache|memcache|wincache Url_taxonomy_filters: true # Enable auto-magic URL-based taxonomy filters for page collectionsĮnabled: true # Set to true to enable caching Ignore_hidden: true # Ignore all Hidden files and folders Ignore_folders: # Folders to ignore in Pages Redirect_trailing_slash: true # Handle automatically or 301 redirect a trailing / URL Redirect_default_code: 301 # Default code to use for redirects Redirect_default_route: false # Automatically redirect to a page's default route ![]() Vary_accept_encoding: false # Add `Vary: Accept-Encoding` header Last_modified: false # Set the last modified date header based on file modifcation timestamp '.html' results in /path/page.html)Įxpires: 604800 # Page expires time in seconds (604800 seconds = 7 days) Types: # list of valid page typesĪppend_url_extension: '' # Append page's extension in Page urls (e.g. Special_chars: # List of special characters to automatically convert to entities Twig_first: false # Process Twig before markdown when processing both on a pageĮxtra: false # Enable support for Markdown Extra support (GFM by default)Īuto_line_breaks: false # Enable automatic line breaksĪuto_url_links: false # Enable automatic HTML linksĮscape_markup: false # Escape markup tags into entities Publish_dates: true # automatically publish/unpublish based on dates Long: 'F jS \a\t g:ia' # Long date format Theme: antimatter # Default theme (defaults to "antimatter" theme)īy: default # Order pages by "default", "alpha" or "date"ĭir: asc # Default ordering direction, "asc" or "desc"ĭefault: # The default date format Grav expects in the `date: ` field Hide_in_urls: false # Hide the home route in URLs Override_locale: false # Override the default or system locale with language specific oneĪlias: '/home' # Default path for home, ie / Http_accept_language: false # Attempt to set the language based on http_accept_language header in the browser ![]() Session_store_active: false # Store active language in session Translations_fallback: true # Fallback through supported translations if active lang doesn't exist ![]() Translations: true # Enable translations by default Include_default_lang: true # Include the default lang prefix in all URLs Supported: # List of languages supported. Proxy_url: # Configure a manual proxy URL for GPM (eg 127.0.0.1:3128) Reverse_proxy_setup: false # Running in a reverse proxy scenario with different webserver ports than proxy Wrapped_site: false # For themes/plugins to know if Grav is wrapped by another platform Param_sep: ':' # Parameter separator, use ' ' for Apache on windows a commented version may look like:Ībsolute_urls: false # Absolute or relative URLs for `base_url`ĭefault_locale: # Default locale (defaults to system) I would like to read a yaml configuration for processing, e.g.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |