system.yaml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  1. absolute_urls: false
  2. timezone: null
  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. debug: false
  31. home:
  32. alias: /home
  33. hide_in_urls: false
  34. pages:
  35. type: regular
  36. dirs:
  37. - 'page://'
  38. theme: plain
  39. order:
  40. by: default
  41. dir: asc
  42. list:
  43. count: 20
  44. dateformat:
  45. default: null
  46. short: 'jS M Y'
  47. long: 'F jS \a\t g:ia'
  48. publish_dates: true
  49. process:
  50. markdown: true
  51. twig: false
  52. twig_first: false
  53. never_cache_twig: false
  54. events:
  55. page: true
  56. twig: true
  57. markdown:
  58. extra: false
  59. auto_line_breaks: false
  60. auto_url_links: false
  61. escape_markup: false
  62. special_chars:
  63. '>': gt
  64. '<': lt
  65. valid_link_attributes:
  66. - rel
  67. - target
  68. - id
  69. - class
  70. - classes
  71. types:
  72. - html
  73. - htm
  74. - xml
  75. - txt
  76. - json
  77. - rss
  78. - atom
  79. append_url_extension: null
  80. expires: 604800
  81. cache_control: null
  82. last_modified: false
  83. etag: false
  84. vary_accept_encoding: false
  85. redirect_default_code: '302'
  86. redirect_trailing_slash: 1
  87. redirect_default_route: 0
  88. ignore_files:
  89. - .DS_Store
  90. ignore_folders:
  91. - .git
  92. - .idea
  93. ignore_hidden: true
  94. hide_empty_folders: false
  95. url_taxonomy_filters: true
  96. frontmatter:
  97. process_twig: false
  98. ignore_fields:
  99. - form
  100. - forms
  101. cache:
  102. enabled: false
  103. check:
  104. method: file
  105. driver: auto
  106. prefix: g
  107. purge_at: '0 4 * * *'
  108. clear_at: '0 3 * * *'
  109. clear_job_type: all
  110. clear_images_by_default: true
  111. cli_compatibility: false
  112. lifetime: 604800
  113. gzip: true
  114. allow_webserver_gzip: true
  115. redis:
  116. socket: null
  117. password: null
  118. database: null
  119. server: null
  120. port: null
  121. memcache:
  122. server: null
  123. port: null
  124. memcached:
  125. server: null
  126. port: null
  127. twig:
  128. cache: true
  129. debug: false
  130. auto_reload: true
  131. autoescape: false
  132. undefined_functions: true
  133. undefined_filters: true
  134. safe_functions: { }
  135. safe_filters: { }
  136. umask_fix: false
  137. assets:
  138. css_pipeline: true
  139. css_pipeline_include_externals: true
  140. css_pipeline_before_excludes: true
  141. css_minify: true
  142. css_minify_windows: false
  143. css_rewrite: true
  144. js_pipeline: true
  145. js_pipeline_include_externals: true
  146. js_pipeline_before_excludes: true
  147. js_module_pipeline: false
  148. js_module_pipeline_include_externals: true
  149. js_module_pipeline_before_excludes: true
  150. js_minify: true
  151. enable_asset_timestamp: false
  152. enable_asset_sri: false
  153. collections:
  154. jquery: 'system://assets/jquery/jquery-2.x.min.js'
  155. errors:
  156. display: 1
  157. log: false
  158. log:
  159. handler: file
  160. syslog:
  161. facility: local6
  162. tag: grav
  163. debugger:
  164. enabled: true
  165. provider: debugbar
  166. censored: false
  167. shutdown:
  168. close_connection: true
  169. twig: true
  170. images:
  171. default_image_quality: 85
  172. cache_all: false
  173. cache_perms: '0755'
  174. debug: false
  175. auto_fix_orientation: false
  176. seofriendly: false
  177. cls:
  178. auto_sizes: false
  179. aspect_ratio: false
  180. retina_scale: '1'
  181. defaults:
  182. loading: auto
  183. watermark:
  184. image: 'system://images/watermark.png'
  185. position_y: center
  186. position_x: center
  187. scale: 33
  188. watermark_all: false
  189. media:
  190. enable_media_timestamp: false
  191. unsupported_inline_types: null
  192. allowed_fallback_types: null
  193. auto_metadata_exif: false
  194. upload_limit: 8388608
  195. session:
  196. enabled: true
  197. initialize: true
  198. timeout: 3000
  199. name: grav-site
  200. uniqueness: path
  201. secure: false
  202. secure_https: true
  203. httponly: true
  204. samesite: Lax
  205. split: true
  206. domain: null
  207. path: null
  208. gpm:
  209. releases: stable
  210. official_gpm_only: true
  211. method: auto
  212. verify_peer: false
  213. http:
  214. method: auto
  215. enable_proxy: true
  216. proxy_url: null
  217. proxy_cert_path: null
  218. concurrent_connections: 5
  219. verify_peer: true
  220. verify_host: true
  221. accounts:
  222. type: regular
  223. storage: file
  224. avatar: gravatar
  225. flex:
  226. cache:
  227. index:
  228. enabled: true
  229. lifetime: 60
  230. object:
  231. enabled: true
  232. lifetime: 600
  233. render:
  234. enabled: true
  235. lifetime: 600
  236. strict_mode:
  237. yaml_compat: true
  238. twig_compat: true
  239. blueprint_compat: true