system.yaml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. absolute_urls: false
  2. timezone: Europe/Paris
  3. param_sep: ':'
  4. wrapped_site: false
  5. reverse_proxy_setup: false
  6. force_ssl: false
  7. force_lowercase_urls: true
  8. custom_base_url: null
  9. username_regex: '^[a-z0-9_-]{3,16}$'
  10. pwd_regex: '(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}'
  11. intl_enabled: true
  12. http_x_forwarded:
  13. protocol: true
  14. host: false
  15. port: true
  16. ip: true
  17. languages:
  18. supported:
  19. - fr
  20. - en
  21. default_lang: fr
  22. include_default_lang: true
  23. include_default_lang_file_extension: true
  24. translations: true
  25. translations_fallback: true
  26. session_store_active: false
  27. http_accept_language: false
  28. override_locale: false
  29. pages_fallback_only: false
  30. home:
  31. alias: /bienvenue
  32. hide_in_urls: false
  33. pages:
  34. type: regular
  35. theme: quark
  36. order:
  37. by: default
  38. dir: asc
  39. list:
  40. count: 20
  41. dateformat:
  42. default: 'd-m-Y H:i'
  43. short: 'jS M Y'
  44. long: 'F jS \a\t g:ia'
  45. publish_dates: true
  46. process:
  47. markdown: true
  48. twig: false
  49. twig_first: false
  50. never_cache_twig: false
  51. events:
  52. page: true
  53. twig: true
  54. markdown:
  55. extra: false
  56. auto_line_breaks: false
  57. auto_url_links: false
  58. escape_markup: false
  59. special_chars:
  60. '>': gt
  61. '<': lt
  62. valid_link_attributes:
  63. - rel
  64. - target
  65. - id
  66. - class
  67. - classes
  68. types:
  69. - html
  70. - htm
  71. - xml
  72. - txt
  73. - json
  74. - rss
  75. - atom
  76. append_url_extension: null
  77. expires: 604800
  78. cache_control: null
  79. last_modified: false
  80. etag: true
  81. vary_accept_encoding: false
  82. redirect_default_route: false
  83. redirect_default_code: '302'
  84. redirect_trailing_slash: true
  85. ignore_files:
  86. - .DS_Store
  87. ignore_folders:
  88. - .git
  89. - .idea
  90. ignore_hidden: true
  91. hide_empty_folders: false
  92. url_taxonomy_filters: true
  93. frontmatter:
  94. process_twig: false
  95. ignore_fields:
  96. - form
  97. - forms
  98. cache:
  99. enabled: true
  100. check:
  101. method: file
  102. driver: auto
  103. prefix: g
  104. purge_at: '0 4 * * *'
  105. clear_at: '0 3 * * *'
  106. clear_job_type: standard
  107. clear_images_by_default: true
  108. cli_compatibility: false
  109. lifetime: 604800
  110. gzip: false
  111. allow_webserver_gzip: false
  112. redis:
  113. socket: '0'
  114. password: null
  115. database: null
  116. server: null
  117. port: null
  118. memcache:
  119. server: null
  120. port: null
  121. memcached:
  122. server: null
  123. port: null
  124. twig:
  125. cache: true
  126. debug: true
  127. auto_reload: true
  128. autoescape: true
  129. undefined_functions: true
  130. undefined_filters: true
  131. umask_fix: false
  132. assets:
  133. css_pipeline: false
  134. css_pipeline_include_externals: true
  135. css_pipeline_before_excludes: true
  136. css_minify: true
  137. css_minify_windows: false
  138. css_rewrite: true
  139. js_pipeline: false
  140. js_pipeline_include_externals: true
  141. js_pipeline_before_excludes: true
  142. js_minify: true
  143. enable_asset_timestamp: false
  144. collections:
  145. jquery: 'system://assets/jquery/jquery-2.x.min.js'
  146. errors:
  147. display: 1
  148. log: true
  149. log:
  150. handler: file
  151. syslog:
  152. facility: local6
  153. debugger:
  154. enabled: false
  155. provider: clockwork
  156. censored: false
  157. shutdown:
  158. close_connection: true
  159. twig: true
  160. images:
  161. default_image_quality: 85
  162. cache_all: true
  163. cache_perms: '0755'
  164. debug: false
  165. auto_fix_orientation: true
  166. seofriendly: false
  167. defaults:
  168. loading: auto
  169. media:
  170. enable_media_timestamp: false
  171. unsupported_inline_types: null
  172. allowed_fallback_types: null
  173. auto_metadata_exif: false
  174. upload_limit: 2097152
  175. session:
  176. enabled: true
  177. initialize: true
  178. timeout: 1800
  179. name: grav-site
  180. uniqueness: path
  181. secure: false
  182. httponly: true
  183. samesite: Lax
  184. split: true
  185. domain: null
  186. path: null
  187. gpm:
  188. releases: stable
  189. proxy_url: null
  190. method: auto
  191. verify_peer: true
  192. official_gpm_only: true
  193. accounts:
  194. type: regular
  195. storage: file
  196. flex:
  197. cache:
  198. index:
  199. enabled: true
  200. lifetime: 60
  201. object:
  202. enabled: true
  203. lifetime: 600
  204. render:
  205. enabled: true
  206. lifetime: 600
  207. strict_mode:
  208. yaml_compat: false
  209. twig_compat: false
  210. blueprint_compat: false