system.yaml 56 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860
  1. title: PLUGIN_ADMIN.SYSTEM
  2. form:
  3. validation: loose
  4. fields:
  5. system_tabs:
  6. type: tabs
  7. classes: side-tabs
  8. fields:
  9. content:
  10. type: tab
  11. title: PLUGIN_ADMIN.CONTENT
  12. fields:
  13. content_section:
  14. type: section
  15. title: PLUGIN_ADMIN.CONTENT
  16. underline: true
  17. home.alias:
  18. type: pages
  19. size: large
  20. classes: fancy
  21. label: PLUGIN_ADMIN.HOME_PAGE
  22. show_all: false
  23. show_modular: false
  24. show_root: false
  25. show_slug: true
  26. help: PLUGIN_ADMIN.HOME_PAGE_HELP
  27. home.hide_in_urls:
  28. type: toggle
  29. label: PLUGIN_ADMIN.HIDE_HOME_IN_URLS
  30. help: PLUGIN_ADMIN.HIDE_HOME_IN_URLS_HELP
  31. highlight: 0
  32. options:
  33. 1: PLUGIN_ADMIN.YES
  34. 0: PLUGIN_ADMIN.NO
  35. validate:
  36. type: bool
  37. pages.theme:
  38. type: themeselect
  39. classes: fancy
  40. selectize: true
  41. size: medium
  42. label: PLUGIN_ADMIN.DEFAULT_THEME
  43. help: PLUGIN_ADMIN.DEFAULT_THEME_HELP
  44. pages.process:
  45. type: checkboxes
  46. label: PLUGIN_ADMIN.PROCESS
  47. help: PLUGIN_ADMIN.PROCESS_HELP
  48. default: [markdown: true, twig: true]
  49. options:
  50. markdown: Markdown
  51. twig: Twig
  52. use: keys
  53. pages.types:
  54. type: array
  55. label: PLUGIN_ADMIN.PAGE_TYPES
  56. help: PLUGIN_ADMIN.PAGE_TYPES_HELP
  57. size: small
  58. default: ['html','htm','json','xml','txt','rss','atom']
  59. value_only: true
  60. timezone:
  61. type: select
  62. label: PLUGIN_ADMIN.TIMEZONE
  63. size: medium
  64. classes: fancy
  65. help: PLUGIN_ADMIN.TIMEZONE_HELP
  66. data-options@: '\Grav\Common\Utils::timezones'
  67. default: ''
  68. options:
  69. '': 'Default (Server Timezone)'
  70. pages.dateformat.default:
  71. type: select
  72. size: medium
  73. selectize:
  74. create: true
  75. label: PLUGIN_ADMIN.DEFAULT_DATE_FORMAT
  76. help: PLUGIN_ADMIN.DEFAULT_DATE_FORMAT_HELP
  77. placeholder: PLUGIN_ADMIN.DEFAULT_DATE_FORMAT_PLACEHOLDER
  78. data-options@: '\Grav\Common\Utils::dateFormats'
  79. validate:
  80. type: string
  81. pages.dateformat.short:
  82. type: dateformat
  83. size: medium
  84. classes: fancy
  85. label: PLUGIN_ADMIN.SHORT_DATE_FORMAT
  86. help: PLUGIN_ADMIN.SHORT_DATE_FORMAT_HELP
  87. default: "jS M Y"
  88. options:
  89. "F jS \\a\\t g:ia": Date1
  90. "l jS \\of F g:i A": Date2
  91. "D, d M Y G:i:s": Date3
  92. "d-m-y G:i": Date4
  93. "jS M Y": Date5
  94. pages.dateformat.long:
  95. type: dateformat
  96. size: medium
  97. classes: fancy
  98. label: PLUGIN_ADMIN.LONG_DATE_FORMAT
  99. help: PLUGIN_ADMIN.LONG_DATE_FORMAT_HELP
  100. options:
  101. "F jS \\a\\t g:ia": Date1
  102. "l jS \\of F g:i A": Date2
  103. "D, d M Y G:i:s": Date3
  104. "d-m-y G:i": Date4
  105. "jS M Y": Date5
  106. pages.order.by:
  107. type: select
  108. size: large
  109. classes: fancy
  110. label: PLUGIN_ADMIN.DEFAULT_ORDERING
  111. help: PLUGIN_ADMIN.DEFAULT_ORDERING_HELP
  112. options:
  113. default: PLUGIN_ADMIN.DEFAULT_ORDERING_DEFAULT
  114. folder: PLUGIN_ADMIN.DEFAULT_ORDERING_FOLDER
  115. title: PLUGIN_ADMIN.DEFAULT_ORDERING_TITLE
  116. date: PLUGIN_ADMIN.DEFAULT_ORDERING_DATE
  117. pages.order.dir:
  118. type: toggle
  119. label: PLUGIN_ADMIN.DEFAULT_ORDER_DIRECTION
  120. highlight: asc
  121. default: desc
  122. help: PLUGIN_ADMIN.DEFAULT_ORDER_DIRECTION_HELP
  123. options:
  124. asc: PLUGIN_ADMIN.ASCENDING
  125. desc: PLUGIN_ADMIN.DESCENDING
  126. pages.list.count:
  127. type: text
  128. size: x-small
  129. append: PLUGIN_ADMIN.PAGES
  130. label: PLUGIN_ADMIN.DEFAULT_PAGE_COUNT
  131. help: PLUGIN_ADMIN.DEFAULT_PAGE_COUNT_HELP
  132. validate:
  133. type: number
  134. min: 1
  135. pages.publish_dates:
  136. type: toggle
  137. label: PLUGIN_ADMIN.DATE_BASED_PUBLISHING
  138. help: PLUGIN_ADMIN.DATE_BASED_PUBLISHING_HELP
  139. highlight: 1
  140. options:
  141. 1: PLUGIN_ADMIN.YES
  142. 0: PLUGIN_ADMIN.NO
  143. validate:
  144. type: bool
  145. pages.events:
  146. type: checkboxes
  147. label: PLUGIN_ADMIN.EVENTS
  148. help: PLUGIN_ADMIN.EVENTS_HELP
  149. default: [page: true, twig: true]
  150. options:
  151. page: Page Events
  152. twig: Twig Events
  153. use: keys
  154. pages.append_url_extension:
  155. type: text
  156. size: x-small
  157. placeholder: "e.g. .html"
  158. label: PLUGIN_ADMIN.APPEND_URL_EXT
  159. help: PLUGIN_ADMIN.APPEND_URL_EXT_HELP
  160. pages.redirect_default_code:
  161. type: select
  162. size: medium
  163. classes: fancy
  164. label: PLUGIN_ADMIN.REDIRECT_DEFAULT_CODE
  165. help: PLUGIN_ADMIN.REDIRECT_DEFAULT_CODE_HELP
  166. default: 302
  167. options:
  168. 301: PLUGIN_ADMIN.REDIRECT_OPTION_301
  169. 302: PLUGIN_ADMIN.REDIRECT_OPTION_302
  170. 303: PLUGIN_ADMIN.REDIRECT_OPTION_303
  171. pages.redirect_default_route:
  172. type: select
  173. size: medium
  174. classes: fancy
  175. label: PLUGIN_ADMIN.REDIRECT_DEFAULT_ROUTE
  176. help: PLUGIN_ADMIN.REDIRECT_DEFAULT_ROUTE_HELP
  177. default: 0
  178. options:
  179. 0: PLUGIN_ADMIN.REDIRECT_OPTION_NO_REDIRECT
  180. 1: PLUGIN_ADMIN.REDIRECT_OPTION_DEFAULT_REDIRECT
  181. 301: PLUGIN_ADMIN.REDIRECT_OPTION_301
  182. 302: PLUGIN_ADMIN.REDIRECT_OPTION_302
  183. validate:
  184. type: int
  185. pages.redirect_trailing_slash:
  186. type: select
  187. size: medium
  188. classes: fancy
  189. label: PLUGIN_ADMIN.REDIRECT_TRAILING_SLASH
  190. help: PLUGIN_ADMIN.REDIRECT_TRAILING_SLASH_HELP
  191. default: 1
  192. options:
  193. 0: PLUGIN_ADMIN.REDIRECT_OPTION_NO_REDIRECT
  194. 1: PLUGIN_ADMIN.REDIRECT_OPTION_DEFAULT_REDIRECT
  195. 301: PLUGIN_ADMIN.REDIRECT_OPTION_301
  196. 302: PLUGIN_ADMIN.REDIRECT_OPTION_302
  197. validate:
  198. type: int
  199. pages.ignore_hidden:
  200. type: toggle
  201. label: PLUGIN_ADMIN.IGNORE_HIDDEN
  202. help: PLUGIN_ADMIN.IGNORE_HIDDEN_HELP
  203. highlight: 1
  204. options:
  205. 1: PLUGIN_ADMIN.YES
  206. 0: PLUGIN_ADMIN.NO
  207. validate:
  208. type: bool
  209. pages.ignore_files:
  210. type: selectize
  211. size: large
  212. label: PLUGIN_ADMIN.IGNORE_FILES
  213. help: PLUGIN_ADMIN.IGNORE_FILES_HELP
  214. classes: fancy
  215. validate:
  216. type: commalist
  217. pages.ignore_folders:
  218. type: selectize
  219. size: large
  220. label: PLUGIN_ADMIN.IGNORE_FOLDERS
  221. help: PLUGIN_ADMIN.IGNORE_FOLDERS_HELP
  222. classes: fancy
  223. validate:
  224. type: commalist
  225. pages.hide_empty_folders:
  226. type: toggle
  227. label: PLUGIN_ADMIN.HIDE_EMPTY_FOLDERS
  228. help: PLUGIN_ADMIN.HIDE_EMPTY_FOLDERS_HELP
  229. highlight: 0
  230. options:
  231. 1: PLUGIN_ADMIN.YES
  232. 0: PLUGIN_ADMIN.NO
  233. validate:
  234. type: bool
  235. pages.url_taxonomy_filters:
  236. type: toggle
  237. label: PLUGIN_ADMIN.ALLOW_URL_TAXONOMY_FILTERS
  238. help: PLUGIN_ADMIN.ALLOW_URL_TAXONOMY_FILTERS_HELP
  239. highlight: 1
  240. options:
  241. 1: PLUGIN_ADMIN.YES
  242. 0: PLUGIN_ADMIN.NO
  243. validate:
  244. type: bool
  245. pages.twig_first:
  246. type: toggle
  247. label: PLUGIN_ADMIN.TWIG_FIRST
  248. help: PLUGIN_ADMIN.TWIG_FIRST_HELP
  249. highlight: 0
  250. options:
  251. 1: PLUGIN_ADMIN.YES
  252. 0: PLUGIN_ADMIN.NO
  253. validate:
  254. type: bool
  255. pages.never_cache_twig:
  256. type: toggle
  257. label: PLUGIN_ADMIN.NEVER_CACHE_TWIG
  258. help: PLUGIN_ADMIN.NEVER_CACHE_TWIG_HELP
  259. highlight: 0
  260. options:
  261. 1: PLUGIN_ADMIN.YES
  262. 0: PLUGIN_ADMIN.NO
  263. validate:
  264. type: bool
  265. pages.frontmatter.process_twig:
  266. type: toggle
  267. label: PLUGIN_ADMIN.FRONTMATTER_PROCESS_TWIG
  268. help: PLUGIN_ADMIN.FRONTMATTER_PROCESS_TWIG_HELP
  269. highlight: 0
  270. options:
  271. 1: PLUGIN_ADMIN.YES
  272. 0: PLUGIN_ADMIN.NO
  273. validate:
  274. type: bool
  275. pages.frontmatter.ignore_fields:
  276. type: selectize
  277. size: large
  278. placeholder: "e.g. forms"
  279. label: PLUGIN_ADMIN.FRONTMATTER_IGNORE_FIELDS
  280. help: PLUGIN_ADMIN.FRONTMATTER_IGNORE_FIELDS_HELP
  281. classes: fancy
  282. validate:
  283. type: commalist
  284. languages:
  285. type: tab
  286. title: PLUGIN_ADMIN.LANGUAGES
  287. fields:
  288. languages-section:
  289. type: section
  290. title: PLUGIN_ADMIN.LANGUAGES
  291. underline: true
  292. languages.supported:
  293. type: selectize
  294. size: large
  295. placeholder: "e.g. en, fr"
  296. label: PLUGIN_ADMIN.SUPPORTED
  297. help: PLUGIN_ADMIN.SUPPORTED_HELP
  298. classes: fancy
  299. validate:
  300. type: commalist
  301. languages.default_lang:
  302. type: text
  303. size: x-small
  304. label: PLUGIN_ADMIN.DEFAULT_LANG
  305. help: PLUGIN_ADMIN.DEFAULT_LANG_HELP
  306. languages.include_default_lang:
  307. type: toggle
  308. label: PLUGIN_ADMIN.INCLUDE_DEFAULT_LANG
  309. help: PLUGIN_ADMIN.INCLUDE_DEFAULT_LANG_HELP
  310. highlight: 1
  311. options:
  312. 1: PLUGIN_ADMIN.YES
  313. 0: PLUGIN_ADMIN.NO
  314. validate:
  315. type: bool
  316. languages.include_default_lang_file_extension:
  317. type: toggle
  318. label: PLUGIN_ADMIN.INCLUDE_DEFAULT_LANG_FILE_EXTENSION
  319. help: PLUGIN_ADMIN.INCLUDE_DEFAULT_LANG_HELP_FILE_EXTENSION
  320. highlight: 1
  321. options:
  322. 1: PLUGIN_ADMIN.YES
  323. 0: PLUGIN_ADMIN.NO
  324. validate:
  325. type: bool
  326. languages.content_fallback:
  327. type: list
  328. label: PLUGIN_ADMIN.CONTENT_LANGUAGE_FALLBACKS
  329. help: PLUGIN_ADMIN.CONTENT_LANGUAGE_FALLBACKS_HELP
  330. fields:
  331. key:
  332. type: key
  333. label: PLUGIN_ADMIN.LANGUAGE
  334. help: PLUGIN_ADMIN.CONTENT_FALLBACK_LANGUAGE_HELP
  335. placeholder: fr-ca
  336. value:
  337. type: selectize
  338. size: large
  339. placeholder: "fr, en"
  340. label: PLUGIN_ADMIN.CONTENT_LANGUAGE_FALLBACK
  341. help: PLUGIN_ADMIN.CONTENT_LANGUAGE_FALLBACK_HELP
  342. classes: fancy
  343. # TODO: does not work.
  344. # validate:
  345. # type: commalist
  346. languages.pages_fallback_only:
  347. type: toggle
  348. label: PLUGIN_ADMIN.PAGES_FALLBACK_ONLY
  349. help: PLUGIN_ADMIN.PAGES_FALLBACK_ONLY_HELP
  350. highlight: 0
  351. options:
  352. 1: PLUGIN_ADMIN.YES
  353. 0: PLUGIN_ADMIN.NO
  354. validate:
  355. type: bool
  356. languages.translations:
  357. type: toggle
  358. label: PLUGIN_ADMIN.LANGUAGE_TRANSLATIONS
  359. help: PLUGIN_ADMIN.LANGUAGE_TRANSLATIONS_HELP
  360. highlight: 1
  361. options:
  362. 1: PLUGIN_ADMIN.YES
  363. 0: PLUGIN_ADMIN.NO
  364. validate:
  365. type: bool
  366. languages.translations_fallback:
  367. type: toggle
  368. label: PLUGIN_ADMIN.TRANSLATIONS_FALLBACK
  369. help: PLUGIN_ADMIN.TRANSLATIONS_FALLBACK_HELP
  370. highlight: 1
  371. options:
  372. 1: PLUGIN_ADMIN.YES
  373. 0: PLUGIN_ADMIN.NO
  374. validate:
  375. type: bool
  376. languages.session_store_active:
  377. type: toggle
  378. label: PLUGIN_ADMIN.ACTIVE_LANGUAGE_IN_SESSION
  379. help: PLUGIN_ADMIN.ACTIVE_LANGUAGE_IN_SESSION_HELP
  380. highlight: 0
  381. options:
  382. 1: PLUGIN_ADMIN.YES
  383. 0: PLUGIN_ADMIN.NO
  384. validate:
  385. type: bool
  386. languages.http_accept_language:
  387. type: toggle
  388. label: PLUGIN_ADMIN.HTTP_ACCEPT_LANGUAGE
  389. help: PLUGIN_ADMIN.HTTP_ACCEPT_LANGUAGE_HELP
  390. highlight: 0
  391. options:
  392. 1: PLUGIN_ADMIN.YES
  393. 0: PLUGIN_ADMIN.NO
  394. validate:
  395. type: bool
  396. languages.override_locale:
  397. type: toggle
  398. label: PLUGIN_ADMIN.OVERRIDE_LOCALE
  399. help: PLUGIN_ADMIN.OVERRIDE_LOCALE_HELP
  400. highlight: 0
  401. options:
  402. 1: PLUGIN_ADMIN.YES
  403. 0: PLUGIN_ADMIN.NO
  404. validate:
  405. type: bool
  406. http_headers:
  407. type: tab
  408. title: PLUGIN_ADMIN.HTTP_HEADERS
  409. fields:
  410. http_headers_section:
  411. type: section
  412. title: PLUGIN_ADMIN.HTTP_HEADERS
  413. underline: true
  414. pages.expires:
  415. type: text
  416. size: x-small
  417. append: GRAV.NICETIME.SECOND_PLURAL
  418. label: PLUGIN_ADMIN.EXPIRES
  419. help: PLUGIN_ADMIN.EXPIRES_HELP
  420. validate:
  421. type: number
  422. min: 1
  423. pages.cache_control:
  424. type: text
  425. size: medium
  426. label: PLUGIN_ADMIN.CACHE_CONTROL
  427. help: PLUGIN_ADMIN.CACHE_CONTROL_HELP
  428. placeholder: 'e.g. public, max-age=31536000'
  429. pages.last_modified:
  430. type: toggle
  431. label: PLUGIN_ADMIN.LAST_MODIFIED
  432. help: PLUGIN_ADMIN.LAST_MODIFIED_HELP
  433. highlight: 0
  434. options:
  435. 1: PLUGIN_ADMIN.YES
  436. 0: PLUGIN_ADMIN.NO
  437. validate:
  438. type: bool
  439. pages.etag:
  440. type: toggle
  441. label: PLUGIN_ADMIN.ETAG
  442. help: PLUGIN_ADMIN.ETAG_HELP
  443. highlight: 0
  444. options:
  445. 1: PLUGIN_ADMIN.YES
  446. 0: PLUGIN_ADMIN.NO
  447. validate:
  448. type: bool
  449. pages.vary_accept_encoding:
  450. type: toggle
  451. label: PLUGIN_ADMIN.VARY_ACCEPT_ENCODING
  452. help: PLUGIN_ADMIN.VARY_ACCEPT_ENCODING_HELP
  453. highlight: 0
  454. options:
  455. 1: PLUGIN_ADMIN.YES
  456. 0: PLUGIN_ADMIN.NO
  457. validate:
  458. type: bool
  459. markdown:
  460. type: tab
  461. title: PLUGIN_ADMIN.MARKDOWN
  462. fields:
  463. markdow_section:
  464. type: section
  465. title: PLUGIN_ADMIN.MARKDOWN
  466. underline: true
  467. pages.markdown.extra:
  468. type: toggle
  469. label: Markdown extra
  470. help: PLUGIN_ADMIN.MARKDOWN_EXTRA_HELP
  471. highlight: 0
  472. options:
  473. 1: PLUGIN_ADMIN.YES
  474. 0: PLUGIN_ADMIN.NO
  475. validate:
  476. type: bool
  477. pages.markdown.auto_line_breaks:
  478. type: toggle
  479. label: PLUGIN_ADMIN.AUTO_LINE_BREAKS
  480. help: PLUGIN_ADMIN.AUTO_LINE_BREAKS_HELP
  481. highlight: 0
  482. options:
  483. 1: PLUGIN_ADMIN.YES
  484. 0: PLUGIN_ADMIN.NO
  485. validate:
  486. type: bool
  487. pages.markdown.auto_url_links:
  488. type: toggle
  489. label: PLUGIN_ADMIN.AUTO_URL_LINKS
  490. help: PLUGIN_ADMIN.AUTO_URL_LINKS_HELP
  491. highlight: 0
  492. options:
  493. 1: PLUGIN_ADMIN.YES
  494. 0: PLUGIN_ADMIN.NO
  495. validate:
  496. type: bool
  497. pages.markdown.escape_markup:
  498. type: toggle
  499. label: PLUGIN_ADMIN.ESCAPE_MARKUP
  500. help: PLUGIN_ADMIN.ESCAPE_MARKUP_HELP
  501. highlight: 0
  502. options:
  503. 1: PLUGIN_ADMIN.YES
  504. 0: PLUGIN_ADMIN.NO
  505. validate:
  506. type: bool
  507. pages.markdown.valid_link_attributes:
  508. type: selectize
  509. size: large
  510. label: PLUGIN_ADMIN.VALID_LINK_ATTRIBUTES
  511. help: PLUGIN_ADMIN.VALID_LINK_ATTRIBUTES_HELP
  512. placeholder: "rel, target, id, class, classes"
  513. classes: fancy
  514. validate:
  515. type: commalist
  516. caching:
  517. type: tab
  518. title: PLUGIN_ADMIN.CACHING
  519. fields:
  520. caching_section:
  521. type: section
  522. title: PLUGIN_ADMIN.CACHING
  523. underline: true
  524. cache.enabled:
  525. type: toggle
  526. label: PLUGIN_ADMIN.CACHING
  527. help: PLUGIN_ADMIN.CACHING_HELP
  528. highlight: 1
  529. options:
  530. 1: PLUGIN_ADMIN.YES
  531. 0: PLUGIN_ADMIN.NO
  532. validate:
  533. type: bool
  534. cache.check.method:
  535. type: select
  536. size: medium
  537. classes: fancy
  538. label: PLUGIN_ADMIN.CACHE_CHECK_METHOD
  539. help: PLUGIN_ADMIN.CACHE_CHECK_METHOD_HELP
  540. options:
  541. file: Markdown + Yaml file timestamps
  542. folder: Folder timestamps
  543. hash: All files timestamps
  544. none: No timestamp checking
  545. cache.driver:
  546. type: select
  547. size: small
  548. classes: fancy
  549. label: PLUGIN_ADMIN.CACHE_DRIVER
  550. help: PLUGIN_ADMIN.CACHE_DRIVER_HELP
  551. options:
  552. auto: Auto detect
  553. file: File
  554. apc: APC
  555. apcu: APCu
  556. xcache: Xcache
  557. memcache: Memcache
  558. memcached: Memcached
  559. wincache: WinCache
  560. redis: Redis
  561. cache.prefix:
  562. type: text
  563. size: x-small
  564. label: PLUGIN_ADMIN.CACHE_PREFIX
  565. help: PLUGIN_ADMIN.CACHE_PREFIX_HELP
  566. placeholder: PLUGIN_ADMIN.CACHE_PREFIX_PLACEHOLDER
  567. cache.purge_at:
  568. type: cron
  569. label: PLUGIN_ADMIN.CACHE_PURGE_JOB
  570. help: PLUGIN_ADMIN.CACHE_PURGE_JOB_HELP
  571. default: '* 4 * * *'
  572. cache.clear_at:
  573. type: cron
  574. label: PLUGIN_ADMIN.CACHE_CLEAR_JOB
  575. help: PLUGIN_ADMIN.CACHE_CLEAR_JOB_HELP
  576. default: '* 3 * * *'
  577. cache.clear_job_type:
  578. type: select
  579. size: medium
  580. label: PLUGIN_ADMIN.CACHE_JOB_TYPE
  581. help: PLUGIN_ADMIN.CACHE_JOB_TYPE_HELP
  582. options:
  583. standard: Standard Cache Folders
  584. all: All Cache Folders
  585. cache.clear_images_by_default:
  586. type: toggle
  587. label: PLUGIN_ADMIN.CLEAR_IMAGES_BY_DEFAULT
  588. help: PLUGIN_ADMIN.CLEAR_IMAGES_BY_DEFAULT_HELP
  589. highlight: 0
  590. options:
  591. 1: PLUGIN_ADMIN.YES
  592. 0: PLUGIN_ADMIN.NO
  593. validate:
  594. type: bool
  595. cache.cli_compatibility:
  596. type: toggle
  597. label: PLUGIN_ADMIN.CLI_COMPATIBILITY
  598. help: PLUGIN_ADMIN.CLI_COMPATIBILITY_HELP
  599. highlight: 0
  600. options:
  601. 1: PLUGIN_ADMIN.YES
  602. 0: PLUGIN_ADMIN.NO
  603. validate:
  604. type: bool
  605. cache.lifetime:
  606. type: text
  607. size: small
  608. append: GRAV.NICETIME.SECOND_PLURAL
  609. label: PLUGIN_ADMIN.LIFETIME
  610. help: PLUGIN_ADMIN.LIFETIME_HELP
  611. validate:
  612. type: number
  613. cache.gzip:
  614. type: toggle
  615. label: PLUGIN_ADMIN.GZIP_COMPRESSION
  616. help: PLUGIN_ADMIN.GZIP_COMPRESSION_HELP
  617. highlight: 0
  618. options:
  619. 1: PLUGIN_ADMIN.YES
  620. 0: PLUGIN_ADMIN.NO
  621. validate:
  622. type: bool
  623. cache.allow_webserver_gzip:
  624. type: toggle
  625. label: PLUGIN_ADMIN.ALLOW_WEBSERVER_GZIP
  626. help: PLUGIN_ADMIN.ALLOW_WEBSERVER_GZIP_HELP
  627. highlight: 0
  628. options:
  629. 1: PLUGIN_ADMIN.YES
  630. 0: PLUGIN_ADMIN.NO
  631. validate:
  632. type: bool
  633. cache.memcache.server:
  634. type: text
  635. size: medium
  636. label: PLUGIN_ADMIN.MEMCACHE_SERVER
  637. help: PLUGIN_ADMIN.MEMCACHE_SERVER_HELP
  638. placeholder: "localhost"
  639. cache.memcache.port:
  640. type: text
  641. size: small
  642. label: PLUGIN_ADMIN.MEMCACHE_PORT
  643. help: PLUGIN_ADMIN.MEMCACHE_PORT_HELP
  644. placeholder: "11211"
  645. cache.memcached.server:
  646. type: text
  647. size: medium
  648. label: PLUGIN_ADMIN.MEMCACHED_SERVER
  649. help: PLUGIN_ADMIN.MEMCACHED_SERVER_HELP
  650. placeholder: "localhost"
  651. cache.memcached.port:
  652. type: text
  653. size: small
  654. label: PLUGIN_ADMIN.MEMCACHED_PORT
  655. help: PLUGIN_ADMIN.MEMCACHED_PORT_HELP
  656. placeholder: "11211"
  657. cache.redis.socket:
  658. type: text
  659. size: medium
  660. label: PLUGIN_ADMIN.REDIS_SOCKET
  661. help: PLUGIN_ADMIN.REDIS_SOCKET_HELP
  662. placeholder: "/var/run/redis/redis.sock"
  663. cache.redis.server:
  664. type: text
  665. size: medium
  666. label: PLUGIN_ADMIN.REDIS_SERVER
  667. help: PLUGIN_ADMIN.REDIS_SERVER_HELP
  668. placeholder: "localhost"
  669. cache.redis.port:
  670. type: text
  671. size: small
  672. label: PLUGIN_ADMIN.REDIS_PORT
  673. help: PLUGIN_ADMIN.REDIS_PORT_HELP
  674. placeholder: "6379"
  675. cache.redis.password:
  676. type: text
  677. size: small
  678. label: PLUGIN_ADMIN.REDIS_PASSWORD
  679. cache.redis.database:
  680. type: text
  681. size: medium
  682. label: PLUGIN_ADMIN.REDIS_DATABASE
  683. help: PLUGIN_ADMIN.REDIS_DATABASE_HELP
  684. placeholder: "0"
  685. validate:
  686. type: number
  687. min: 0
  688. flex_caching:
  689. type: section
  690. title: PLUGIN_ADMIN.FLEX_CACHING
  691. flex.cache.index.enabled:
  692. type: toggle
  693. label: PLUGIN_ADMIN.FLEX_INDEX_CACHE_ENABLED
  694. highlight: 1
  695. default: 1
  696. options:
  697. 1: PLUGIN_ADMIN.ENABLED
  698. 0: PLUGIN_ADMIN.DISABLED
  699. validate:
  700. type: bool
  701. flex.cache.index.lifetime:
  702. type: text
  703. label: PLUGIN_ADMIN.FLEX_INDEX_CACHE_LIFETIME
  704. default: 60
  705. validate:
  706. type: int
  707. flex.cache.object.enabled:
  708. type: toggle
  709. label: PLUGIN_ADMIN.FLEX_OBJECT_CACHE_ENABLED
  710. highlight: 1
  711. default: 1
  712. options:
  713. 1: PLUGIN_ADMIN.ENABLED
  714. 0: PLUGIN_ADMIN.DISABLED
  715. validate:
  716. type: bool
  717. flex.cache.object.lifetime:
  718. type: text
  719. label: PLUGIN_ADMIN.FLEX_OBJECT_CACHE_LIFETIME
  720. default: 600
  721. validate:
  722. type: int
  723. flex.cache.render.enabled:
  724. type: toggle
  725. label: PLUGIN_ADMIN.FLEX_RENDER_CACHE_ENABLED
  726. highlight: 1
  727. default: 1
  728. options:
  729. 1: PLUGIN_ADMIN.ENABLED
  730. 0: PLUGIN_ADMIN.DISABLED
  731. validate:
  732. type: bool
  733. flex.cache.render.lifetime:
  734. type: text
  735. label: PLUGIN_ADMIN.FLEX_RENDER_CACHE_LIFETIME
  736. default: 600
  737. validate:
  738. type: int
  739. twig:
  740. type: tab
  741. title: PLUGIN_ADMIN.TWIG_TEMPLATING
  742. fields:
  743. twig_section:
  744. type: section
  745. title: PLUGIN_ADMIN.TWIG_TEMPLATING
  746. underline: true
  747. twig.cache:
  748. type: toggle
  749. label: PLUGIN_ADMIN.TWIG_CACHING
  750. help: PLUGIN_ADMIN.TWIG_CACHING_HELP
  751. highlight: 1
  752. options:
  753. 1: PLUGIN_ADMIN.YES
  754. 0: PLUGIN_ADMIN.NO
  755. validate:
  756. type: bool
  757. twig.debug:
  758. type: toggle
  759. label: PLUGIN_ADMIN.TWIG_DEBUG
  760. help: PLUGIN_ADMIN.TWIG_DEBUG_HELP
  761. highlight: 1
  762. options:
  763. 1: PLUGIN_ADMIN.YES
  764. 0: PLUGIN_ADMIN.NO
  765. validate:
  766. type: bool
  767. twig.auto_reload:
  768. type: toggle
  769. label: PLUGIN_ADMIN.DETECT_CHANGES
  770. help: PLUGIN_ADMIN.DETECT_CHANGES_HELP
  771. highlight: 1
  772. options:
  773. 1: PLUGIN_ADMIN.YES
  774. 0: PLUGIN_ADMIN.NO
  775. validate:
  776. type: bool
  777. twig.autoescape:
  778. type: toggle
  779. label: PLUGIN_ADMIN.AUTOESCAPE_VARIABLES
  780. help: PLUGIN_ADMIN.AUTOESCAPE_VARIABLES_HELP
  781. highlight: 1
  782. default: 1
  783. options:
  784. 1: PLUGIN_ADMIN.YES
  785. 0: PLUGIN_ADMIN.NO
  786. validate:
  787. type: bool
  788. twig.umask_fix:
  789. type: toggle
  790. label: PLUGIN_ADMIN.TWIG_UMASK_FIX
  791. help: PLUGIN_ADMIN.TWIG_UMASK_FIX_HELP
  792. highlight: 0
  793. options:
  794. 1: PLUGIN_ADMIN.YES
  795. 0: PLUGIN_ADMIN.NO
  796. validate:
  797. type: bool
  798. assets:
  799. type: tab
  800. title: PLUGIN_ADMIN.ASSETS
  801. fields:
  802. general_config_section:
  803. type: section
  804. title: PLUGIN_ADMIN.GENERAL_CONFIG
  805. underline: true
  806. assets.enable_asset_timestamp:
  807. type: toggle
  808. label: PLUGIN_ADMIN.ENABLED_TIMESTAMPS_ON_ASSETS
  809. help: PLUGIN_ADMIN.ENABLED_TIMESTAMPS_ON_ASSETS_HELP
  810. highlight: 0
  811. options:
  812. 1: PLUGIN_ADMIN.YES
  813. 0: PLUGIN_ADMIN.NO
  814. validate:
  815. type: bool
  816. assets.enable_asset_sri:
  817. type: toggle
  818. label: PLUGIN_ADMIN.ENABLED_SRI_ON_ASSETS
  819. help: PLUGIN_ADMIN.ENABLED_SRI_ON_ASSETS_HELP
  820. highlight: 0
  821. options:
  822. 1: PLUGIN_ADMIN.YES
  823. 0: PLUGIN_ADMIN.NO
  824. validate:
  825. type: bool
  826. assets.collections:
  827. type: multilevel
  828. label: PLUGIN_ADMIN.COLLECTIONS
  829. placeholder_key: collection_name
  830. placeholder_value: collection_path
  831. validate:
  832. type: array
  833. css_assets_section:
  834. type: section
  835. title: PLUGIN_ADMIN.CSS_ASSETS
  836. underline: true
  837. assets.css_pipeline:
  838. type: toggle
  839. label: PLUGIN_ADMIN.CSS_PIPELINE
  840. help: PLUGIN_ADMIN.CSS_PIPELINE_HELP
  841. highlight: 0
  842. options:
  843. 1: PLUGIN_ADMIN.YES
  844. 0: PLUGIN_ADMIN.NO
  845. validate:
  846. type: bool
  847. assets.css_pipeline_include_externals:
  848. type: toggle
  849. label: PLUGIN_ADMIN.CSS_PIPELINE_INCLUDE_EXTERNALS
  850. help: PLUGIN_ADMIN.CSS_PIPELINE_INCLUDE_EXTERNALS_HELP
  851. highlight: 1
  852. options:
  853. 1: PLUGIN_ADMIN.YES
  854. 0: PLUGIN_ADMIN.NO
  855. validate:
  856. type: bool
  857. assets.css_pipeline_before_excludes:
  858. type: toggle
  859. label: PLUGIN_ADMIN.CSS_PIPELINE_BEFORE_EXCLUDES
  860. help: PLUGIN_ADMIN.CSS_PIPELINE_BEFORE_EXCLUDES_HELP
  861. highlight: 1
  862. options:
  863. 1: PLUGIN_ADMIN.YES
  864. 0: PLUGIN_ADMIN.NO
  865. validate:
  866. type: bool
  867. assets.css_minify:
  868. type: toggle
  869. label: PLUGIN_ADMIN.CSS_MINIFY
  870. help: PLUGIN_ADMIN.CSS_MINIFY_HELP
  871. highlight: 1
  872. options:
  873. 1: PLUGIN_ADMIN.YES
  874. 0: PLUGIN_ADMIN.NO
  875. validate:
  876. type: bool
  877. assets.css_minify_windows:
  878. type: toggle
  879. label: PLUGIN_ADMIN.CSS_MINIFY_WINDOWS_OVERRIDE
  880. help: PLUGIN_ADMIN.CSS_MINIFY_WINDOWS_OVERRIDE_HELP
  881. highlight: 0
  882. options:
  883. 1: PLUGIN_ADMIN.YES
  884. 0: PLUGIN_ADMIN.NO
  885. validate:
  886. type: bool
  887. assets.css_rewrite:
  888. type: toggle
  889. label: PLUGIN_ADMIN.CSS_REWRITE
  890. help: PLUGIN_ADMIN.CSS_REWRITE_HELP
  891. highlight: 1
  892. options:
  893. 1: PLUGIN_ADMIN.YES
  894. 0: PLUGIN_ADMIN.NO
  895. validate:
  896. type: bool
  897. js_assets_section:
  898. type: section
  899. title: PLUGIN_ADMIN.JS_ASSETS
  900. underline: true
  901. assets.js_pipeline:
  902. type: toggle
  903. label: PLUGIN_ADMIN.JAVASCRIPT_PIPELINE
  904. help: PLUGIN_ADMIN.JAVASCRIPT_PIPELINE_HELP
  905. highlight: 0
  906. options:
  907. 1: PLUGIN_ADMIN.YES
  908. 0: PLUGIN_ADMIN.NO
  909. validate:
  910. type: bool
  911. assets.js_pipeline_include_externals:
  912. type: toggle
  913. label: PLUGIN_ADMIN.JAVASCRIPT_PIPELINE_INCLUDE_EXTERNALS
  914. help: PLUGIN_ADMIN.JAVASCRIPT_PIPELINE_INCLUDE_EXTERNALS_HELP
  915. highlight: 1
  916. options:
  917. 1: PLUGIN_ADMIN.YES
  918. 0: PLUGIN_ADMIN.NO
  919. validate:
  920. type: bool
  921. assets.js_pipeline_before_excludes:
  922. type: toggle
  923. label: PLUGIN_ADMIN.JAVASCRIPT_PIPELINE_BEFORE_EXCLUDES
  924. help: PLUGIN_ADMIN.JAVASCRIPT_PIPELINE_BEFORE_EXCLUDES_HELP
  925. highlight: 1
  926. options:
  927. 1: PLUGIN_ADMIN.YES
  928. 0: PLUGIN_ADMIN.NO
  929. validate:
  930. type: bool
  931. assets.js_minify:
  932. type: toggle
  933. label: PLUGIN_ADMIN.JAVASCRIPT_MINIFY
  934. help: PLUGIN_ADMIN.JAVASCRIPT_MINIFY_HELP
  935. highlight: 1
  936. options:
  937. 1: PLUGIN_ADMIN.YES
  938. 0: PLUGIN_ADMIN.NO
  939. validate:
  940. type: bool
  941. js_module_assets_section:
  942. type: section
  943. title: PLUGIN_ADMIN.JS_MODULE_ASSETS
  944. underline: true
  945. assets.js_module_pipeline:
  946. type: toggle
  947. label: PLUGIN_ADMIN.JAVASCRIPT_MODULE_PIPELINE
  948. help: PLUGIN_ADMIN.JAVASCRIPT_MODULE_PIPELINE_HELP
  949. highlight: 0
  950. options:
  951. 1: PLUGIN_ADMIN.YES
  952. 0: PLUGIN_ADMIN.NO
  953. validate:
  954. type: bool
  955. assets.js_module_pipeline_include_externals:
  956. type: toggle
  957. label: PLUGIN_ADMIN.JAVASCRIPT_MODULE_PIPELINE_INCLUDE_EXTERNALS
  958. help: PLUGIN_ADMIN.JAVASCRIPT_MODULE_PIPELINE_INCLUDE_EXTERNALS_HELP
  959. highlight: 1
  960. options:
  961. 1: PLUGIN_ADMIN.YES
  962. 0: PLUGIN_ADMIN.NO
  963. validate:
  964. type: bool
  965. assets.js_module_pipeline_before_excludes:
  966. type: toggle
  967. label: PLUGIN_ADMIN.JAVASCRIPT_MODULE_PIPELINE_BEFORE_EXCLUDES
  968. help: PLUGIN_ADMIN.JAVASCRIPT_MODULE_PIPELINE_BEFORE_EXCLUDES_HELP
  969. highlight: 1
  970. options:
  971. 1: PLUGIN_ADMIN.YES
  972. 0: PLUGIN_ADMIN.NO
  973. validate:
  974. type: bool
  975. errors:
  976. type: tab
  977. title: PLUGIN_ADMIN.ERROR_HANDLER
  978. fields:
  979. errors_section:
  980. type: section
  981. title: PLUGIN_ADMIN.ERROR_HANDLER
  982. underline: true
  983. errors.display:
  984. type: select
  985. label: PLUGIN_ADMIN.DISPLAY_ERRORS
  986. help: PLUGIN_ADMIN.DISPLAY_ERRORS_HELP
  987. size: medium
  988. highlight: 1
  989. options:
  990. -1: PLUGIN_ADMIN.ERROR_SYSTEM
  991. 0: PLUGIN_ADMIN.ERROR_SIMPLE
  992. 1: PLUGIN_ADMIN.ERROR_FULL_BACKTRACE
  993. validate:
  994. type: int
  995. errors.log:
  996. type: toggle
  997. label: PLUGIN_ADMIN.LOG_ERRORS
  998. help: PLUGIN_ADMIN.LOG_ERRORS_HELP
  999. highlight: 1
  1000. options:
  1001. 1: PLUGIN_ADMIN.YES
  1002. 0: PLUGIN_ADMIN.NO
  1003. validate:
  1004. type: bool
  1005. log.handler:
  1006. type: select
  1007. size: small
  1008. label: PLUGIN_ADMIN.LOG_HANDLER
  1009. help: PLUGIN_ADMIN.LOG_HANDLER_HELP
  1010. default: 'file'
  1011. options:
  1012. 'file': 'File'
  1013. 'syslog': 'Syslog'
  1014. log.syslog.facility:
  1015. type: select
  1016. size: small
  1017. label: PLUGIN_ADMIN.SYSLOG_FACILITY
  1018. help: PLUGIN_ADMIN.SYSLOG_FACILITY_HELP
  1019. default: local6
  1020. options:
  1021. auth: auth
  1022. authpriv: authpriv
  1023. cron: cron
  1024. daemon: daemon
  1025. kern: kern
  1026. lpr: lpr
  1027. mail: mail
  1028. news: news
  1029. syslog: syslog
  1030. user: user
  1031. uucp: uucp
  1032. local0: local0
  1033. local1: local1
  1034. local2: local2
  1035. local3: local3
  1036. local4: local4
  1037. local5: local5
  1038. local6: local6
  1039. local7: local7
  1040. log.syslog.tag:
  1041. type: text
  1042. size: small
  1043. label: PLUGIN_ADMIN.SYSLOG_TAG
  1044. help: PLUGIN_ADMIN.SYSLOG_TAG_HELP
  1045. placeholder: "grav"
  1046. debugger:
  1047. type: tab
  1048. title: PLUGIN_ADMIN.DEBUGGER
  1049. fields:
  1050. debugger_section:
  1051. type: section
  1052. title: PLUGIN_ADMIN.DEBUGGER
  1053. underline: true
  1054. debugger.enabled:
  1055. type: toggle
  1056. label: PLUGIN_ADMIN.DEBUGGER
  1057. help: PLUGIN_ADMIN.DEBUGGER_HELP
  1058. highlight: 0
  1059. options:
  1060. 1: PLUGIN_ADMIN.YES
  1061. 0: PLUGIN_ADMIN.NO
  1062. validate:
  1063. type: bool
  1064. debugger.provider:
  1065. type: select
  1066. label: PLUGIN_ADMIN.DEBUGGER_PROVIDER
  1067. help: PLUGIN_ADMIN.DEBUGGER_PROVIDER_HELP
  1068. size: medium
  1069. default: debugbar
  1070. options:
  1071. debugbar: PLUGIN_ADMIN.DEBUGGER_DEBUGBAR
  1072. clockwork: PLUGIN_ADMIN.DEBUGGER_CLOCKWORK
  1073. debugger.censored:
  1074. type: toggle
  1075. label: PLUGIN_ADMIN.DEBUGGER_CENSORED
  1076. help: PLUGIN_ADMIN.DEBUGGER_CENSORED_HELP
  1077. highlight: 0
  1078. options:
  1079. 1: PLUGIN_ADMIN.YES
  1080. 0: PLUGIN_ADMIN.NO
  1081. validate:
  1082. type: bool
  1083. debugger.shutdown.close_connection:
  1084. type: toggle
  1085. label: PLUGIN_ADMIN.SHUTDOWN_CLOSE_CONNECTION
  1086. help: PLUGIN_ADMIN.SHUTDOWN_CLOSE_CONNECTION_HELP
  1087. highlight: 1
  1088. options:
  1089. 1: PLUGIN_ADMIN.YES
  1090. 0: PLUGIN_ADMIN.NO
  1091. validate:
  1092. type: bool
  1093. media:
  1094. type: tab
  1095. title: PLUGIN_ADMIN.MEDIA
  1096. fields:
  1097. media_section:
  1098. type: section
  1099. title: PLUGIN_ADMIN.MEDIA
  1100. underline: true
  1101. images.default_image_quality:
  1102. type: range
  1103. append: '%'
  1104. label: PLUGIN_ADMIN.DEFAULT_IMAGE_QUALITY
  1105. help: PLUGIN_ADMIN.DEFAULT_IMAGE_QUALITY_HELP
  1106. validate:
  1107. min: 1
  1108. max: 100
  1109. images.cache_all:
  1110. type: toggle
  1111. label: PLUGIN_ADMIN.CACHE_ALL
  1112. help: PLUGIN_ADMIN.CACHE_ALL_HELP
  1113. highlight: 0
  1114. options:
  1115. 1: PLUGIN_ADMIN.YES
  1116. 0: PLUGIN_ADMIN.NO
  1117. validate:
  1118. type: bool
  1119. images.cache_perms:
  1120. type: select
  1121. size: small
  1122. label: PLUGIN_ADMIN.CACHE_PERMS
  1123. help: PLUGIN_ADMIN.CACHE_PERMS_HELP
  1124. highlight: '0755'
  1125. options:
  1126. '0755': '0755'
  1127. '0775': '0775'
  1128. images.debug:
  1129. type: toggle
  1130. label: PLUGIN_ADMIN.IMAGES_DEBUG
  1131. help: PLUGIN_ADMIN.IMAGES_DEBUG_HELP
  1132. highlight: 0
  1133. options:
  1134. 1: PLUGIN_ADMIN.YES
  1135. 0: PLUGIN_ADMIN.NO
  1136. validate:
  1137. type: bool
  1138. images.auto_fix_orientation:
  1139. type: toggle
  1140. label: PLUGIN_ADMIN.IMAGES_AUTO_FIX_ORIENTATION
  1141. help: PLUGIN_ADMIN.IMAGES_AUTO_FIX_ORIENTATION_HELP
  1142. highlight: 1
  1143. options:
  1144. 1: PLUGIN_ADMIN.YES
  1145. 0: PLUGIN_ADMIN.NO
  1146. validate:
  1147. type: bool
  1148. images.defaults.loading:
  1149. type: select
  1150. size: small
  1151. label: PLUGIN_ADMIN.IMAGES_LOADING
  1152. help: PLUGIN_ADMIN.IMAGES_LOADING_HELP
  1153. highlight: auto
  1154. options:
  1155. auto: Auto
  1156. lazy: Lazy
  1157. eager: Eager
  1158. images.seofriendly:
  1159. type: toggle
  1160. label: PLUGIN_ADMIN.IMAGES_SEOFRIENDLY
  1161. help: PLUGIN_ADMIN.IMAGES_SEOFRIENDLY_HELP
  1162. highlight: 0
  1163. options:
  1164. 1: PLUGIN_ADMIN.YES
  1165. 0: PLUGIN_ADMIN.NO
  1166. validate:
  1167. type: bool
  1168. media.enable_media_timestamp:
  1169. type: toggle
  1170. label: PLUGIN_ADMIN.ENABLE_MEDIA_TIMESTAMP
  1171. help: PLUGIN_ADMIN.ENABLE_MEDIA_TIMESTAMP_HELP
  1172. highlight: 0
  1173. options:
  1174. 1: PLUGIN_ADMIN.YES
  1175. 0: PLUGIN_ADMIN.NO
  1176. validate:
  1177. type: bool
  1178. media.auto_metadata_exif:
  1179. type: toggle
  1180. label: PLUGIN_ADMIN.ENABLE_AUTO_METADATA
  1181. help: PLUGIN_ADMIN.ENABLE_AUTO_METADATA_HELP
  1182. highlight: 0
  1183. options:
  1184. 1: PLUGIN_ADMIN.YES
  1185. 0: PLUGIN_ADMIN.NO
  1186. validate:
  1187. type: bool
  1188. media.allowed_fallback_types:
  1189. type: selectize
  1190. size: large
  1191. label: PLUGIN_ADMIN.FALLBACK_TYPES
  1192. help: PLUGIN_ADMIN.FALLBACK_TYPES_HELP
  1193. classes: fancy
  1194. validate:
  1195. type: commalist
  1196. media.unsupported_inline_types:
  1197. type: selectize
  1198. size: large
  1199. label: PLUGIN_ADMIN.INLINE_TYPES
  1200. help: PLUGIN_ADMIN.INLINE_TYPES_HELP
  1201. classes: fancy
  1202. validate:
  1203. type: commalist
  1204. section_images_cls:
  1205. type: section
  1206. title: PLUGIN_ADMIN.IMAGES_CLS_TITLE
  1207. underline: true
  1208. images.cls.auto_sizes:
  1209. type: toggle
  1210. label: PLUGIN_ADMIN.IMAGES_CLS_AUTO_SIZES
  1211. help: PLUGIN_ADMIN.IMAGES_CLS_AUTO_SIZES_HELP
  1212. highlight: 0
  1213. options:
  1214. 1: PLUGIN_ADMIN.YES
  1215. 0: PLUGIN_ADMIN.NO
  1216. validate:
  1217. type: bool
  1218. images.cls.aspect_ratio:
  1219. type: toggle
  1220. label: PLUGIN_ADMIN.IMAGES_CLS_ASPECT_RATIO
  1221. help: PLUGIN_ADMIN.IMAGES_CLS_ASPECT_RATIO_HELP
  1222. highlight: 0
  1223. options:
  1224. 1: PLUGIN_ADMIN.YES
  1225. 0: PLUGIN_ADMIN.NO
  1226. validate:
  1227. type: bool
  1228. images.cls.retina_scale:
  1229. type: select
  1230. label: PLUGIN_ADMIN.IMAGES_CLS_RETINA_SCALE
  1231. help: PLUGIN_ADMIN.IMAGES_CLS_RETINA_SCALE_HELP
  1232. size: small
  1233. highlight: 1
  1234. options:
  1235. 1: 1X
  1236. 2: 2X
  1237. 3: 3X
  1238. 4: 4X
  1239. session:
  1240. type: tab
  1241. title: PLUGIN_ADMIN.SESSION
  1242. fields:
  1243. session_section:
  1244. type: section
  1245. title: PLUGIN_ADMIN.SESSION
  1246. underline: true
  1247. session.enabled:
  1248. type: hidden
  1249. label: PLUGIN_ADMIN.ENABLED
  1250. help: PLUGIN_ADMIN.SESSION_ENABLED_HELP
  1251. highlight: 1
  1252. options:
  1253. 1: PLUGIN_ADMIN.YES
  1254. 0: PLUGIN_ADMIN.NO
  1255. default: true
  1256. validate:
  1257. type: bool
  1258. session.initialize:
  1259. type: toggle
  1260. label: PLUGIN_ADMIN.SESSION_INITIALIZE
  1261. help: PLUGIN_ADMIN.SESSION_INITIALIZE_HELP
  1262. highlight: 1
  1263. options:
  1264. 1: PLUGIN_ADMIN.YES
  1265. 0: PLUGIN_ADMIN.NO
  1266. default: true
  1267. validate:
  1268. type: bool
  1269. session.timeout:
  1270. type: text
  1271. size: small
  1272. append: GRAV.NICETIME.SECOND_PLURAL
  1273. label: PLUGIN_ADMIN.TIMEOUT
  1274. help: PLUGIN_ADMIN.TIMEOUT_HELP
  1275. validate:
  1276. type: number
  1277. min: 0
  1278. session.name:
  1279. type: text
  1280. size: small
  1281. label: PLUGIN_ADMIN.NAME
  1282. help: PLUGIN_ADMIN.SESSION_NAME_HELP
  1283. session.uniqueness:
  1284. type: select
  1285. size: medium
  1286. label: PLUGIN_ADMIN.SESSION_UNIQUENESS
  1287. help: PLUGIN_ADMIN.SESSION_UNIQUENESS_HELP
  1288. highlight: path
  1289. default: path
  1290. options:
  1291. path: Grav's root file path
  1292. salt: Grav's random security salt
  1293. session.secure:
  1294. type: toggle
  1295. label: PLUGIN_ADMIN.SESSION_SECURE
  1296. help: PLUGIN_ADMIN.SESSION_SECURE_HELP
  1297. highlight: 1
  1298. options:
  1299. 1: PLUGIN_ADMIN.YES
  1300. 0: PLUGIN_ADMIN.NO
  1301. default: false
  1302. validate:
  1303. type: bool
  1304. session.secure_https:
  1305. type: toggle
  1306. label: PLUGIN_ADMIN.SESSION_SECURE_HTTPS
  1307. help: PLUGIN_ADMIN.SESSION_SECURE_HTTPS_HELP
  1308. highlight: 1
  1309. options:
  1310. 1: PLUGIN_ADMIN.YES
  1311. 0: PLUGIN_ADMIN.NO
  1312. default: true
  1313. validate:
  1314. type: bool
  1315. session.httponly:
  1316. type: toggle
  1317. label: PLUGIN_ADMIN.SESSION_HTTPONLY
  1318. help: PLUGIN_ADMIN.SESSION_HTTPONLY_HELP
  1319. highlight: 1
  1320. options:
  1321. 1: PLUGIN_ADMIN.YES
  1322. 0: PLUGIN_ADMIN.NO
  1323. default: true
  1324. validate:
  1325. type: bool
  1326. session.domain:
  1327. type: text
  1328. size: small
  1329. label: PLUGIN_ADMIN.SESSION_DOMAIN
  1330. help: PLUGIN_ADMIN.SESSION_DOMAIN_HELP
  1331. session.path:
  1332. type: text
  1333. size: small
  1334. label: PLUGIN_ADMIN.SESSION_PATH
  1335. help: PLUGIN_ADMIN.SESSION_PATH_HELP
  1336. session.samesite:
  1337. type: text
  1338. size: small
  1339. label: PLUGIN_ADMIN.SESSION_SAMESITE
  1340. help: PLUGIN_ADMIN.SESSION_SAMESITE_HELP
  1341. session.split:
  1342. type: toggle
  1343. label: PLUGIN_ADMIN.SESSION_SPLIT
  1344. help: PLUGIN_ADMIN.SESSION_SPLIT_HELP
  1345. highlight: 1
  1346. options:
  1347. 1: PLUGIN_ADMIN.YES
  1348. 0: PLUGIN_ADMIN.NO
  1349. default: true
  1350. validate:
  1351. type: bool
  1352. advanced:
  1353. type: tab
  1354. title: PLUGIN_ADMIN.ADVANCED
  1355. fields:
  1356. advanced_section:
  1357. type: section
  1358. title: PLUGIN_ADMIN.ADVANCED
  1359. underline: true
  1360. gpm_section:
  1361. type: section
  1362. title: PLUGIN_ADMIN.GPM_SECTION
  1363. gpm.releases:
  1364. type: toggle
  1365. label: PLUGIN_ADMIN.GPM_RELEASES
  1366. highlight: stable
  1367. help: PLUGIN_ADMIN.GPM_RELEASES_HELP
  1368. options:
  1369. stable: PLUGIN_ADMIN.STABLE
  1370. testing: PLUGIN_ADMIN.TESTING
  1371. gpm.official_gpm_only:
  1372. type: toggle
  1373. label: PLUGIN_ADMIN.GPM_OFFICIAL_ONLY
  1374. highlight: 1
  1375. help: PLUGIN_ADMIN.GPM_OFFICIAL_ONLY_HELP
  1376. options:
  1377. 1: PLUGIN_ADMIN.YES
  1378. 0: PLUGIN_ADMIN.NO
  1379. default: true
  1380. validate:
  1381. type: bool
  1382. http_section:
  1383. type: section
  1384. title: PLUGIN_ADMIN.HTTP_SECTION
  1385. http.method:
  1386. type: toggle
  1387. label: PLUGIN_ADMIN.GPM_METHOD
  1388. highlight: auto
  1389. help: PLUGIN_ADMIN.GPM_METHOD_HELP
  1390. options:
  1391. auto: PLUGIN_ADMIN.AUTO
  1392. fopen: PLUGIN_ADMIN.FOPEN
  1393. curl: PLUGIN_ADMIN.CURL
  1394. http.enable_proxy:
  1395. type: toggle
  1396. label: PLUGIN_ADMIN.SSL_ENABLE_PROXY
  1397. highlight: 1
  1398. options:
  1399. 1: PLUGIN_ADMIN.YES
  1400. 0: PLUGIN_ADMIN.NO
  1401. default: false
  1402. validate:
  1403. type: bool
  1404. http.proxy_url:
  1405. type: text
  1406. size: medium
  1407. placeholder: "e.g. 127.0.0.1:3128"
  1408. label: PLUGIN_ADMIN.PROXY_URL
  1409. help: PLUGIN_ADMIN.PROXY_URL_HELP
  1410. http.proxy_cert_path:
  1411. type: text
  1412. size: medium
  1413. placeholder: "e.g. /Users/bob/certs/"
  1414. label: PLUGIN_ADMIN.PROXY_CERT
  1415. help: PLUGIN_ADMIN.PROXY_CERT_HELP
  1416. http.verify_peer:
  1417. type: toggle
  1418. label: PLUGIN_ADMIN.SSL_VERIFY_PEER
  1419. highlight: 1
  1420. help: PLUGIN_ADMIN.SSL_VERIFY_PEER_HELP
  1421. options:
  1422. 1: PLUGIN_ADMIN.YES
  1423. 0: PLUGIN_ADMIN.NO
  1424. validate:
  1425. type: bool
  1426. http.verify_host:
  1427. type: toggle
  1428. label: PLUGIN_ADMIN.SSL_VERIFY_HOST
  1429. highlight: 1
  1430. help: PLUGIN_ADMIN.SSL_VERIFY_HOST_HELP
  1431. options:
  1432. 1: PLUGIN_ADMIN.YES
  1433. 0: PLUGIN_ADMIN.NO
  1434. validate:
  1435. type: bool
  1436. http.concurrent_connections:
  1437. type: number
  1438. size: x-small
  1439. label: PLUGIN_ADMIN.HTTP_CONNECTIONS
  1440. help: PLUGIN_ADMIN.HTTP_CONNECTIONS_HELP
  1441. validate:
  1442. min: 1
  1443. max: 20
  1444. misc_section:
  1445. type: section
  1446. title: PLUGIN_ADMIN.MISC_SECTION
  1447. reverse_proxy_setup:
  1448. type: toggle
  1449. label: PLUGIN_ADMIN.REVERSE_PROXY
  1450. highlight: 0
  1451. help: PLUGIN_ADMIN.REVERSE_PROXY_HELP
  1452. options:
  1453. 1: PLUGIN_ADMIN.YES
  1454. 0: PLUGIN_ADMIN.NO
  1455. validate:
  1456. type: bool
  1457. username_regex:
  1458. type: text
  1459. size: large
  1460. label: PLUGIN_ADMIN.USERNAME_REGEX
  1461. help: PLUGIN_ADMIN.USERNAME_REGEX_HELP
  1462. pwd_regex:
  1463. type: text
  1464. size: large
  1465. label: PLUGIN_ADMIN.PWD_REGEX
  1466. help: PLUGIN_ADMIN.PWD_REGEX_HELP
  1467. intl_enabled:
  1468. type: toggle
  1469. label: PLUGIN_ADMIN.INTL_ENABLED
  1470. highlight: 1
  1471. help: PLUGIN_ADMIN.INTL_ENABLED_HELP
  1472. options:
  1473. 1: PLUGIN_ADMIN.YES
  1474. 0: PLUGIN_ADMIN.NO
  1475. validate:
  1476. type: bool
  1477. wrapped_site:
  1478. type: toggle
  1479. label: PLUGIN_ADMIN.WRAPPED_SITE
  1480. highlight: 0
  1481. help: PLUGIN_ADMIN.WRAPPED_SITE_HELP
  1482. options:
  1483. 1: PLUGIN_ADMIN.YES
  1484. 0: PLUGIN_ADMIN.NO
  1485. validate:
  1486. type: bool
  1487. absolute_urls:
  1488. type: toggle
  1489. label: PLUGIN_ADMIN.ABSOLUTE_URLS
  1490. highlight: 0
  1491. help: PLUGIN_ADMIN.ABSOLUTE_URLS_HELP
  1492. options:
  1493. 1: PLUGIN_ADMIN.YES
  1494. 0: PLUGIN_ADMIN.NO
  1495. validate:
  1496. type: bool
  1497. param_sep:
  1498. type: select
  1499. size: medium
  1500. label: PLUGIN_ADMIN.PARAMETER_SEPARATOR
  1501. classes: fancy
  1502. help: PLUGIN_ADMIN.PARAMETER_SEPARATOR_HELP
  1503. default: ''
  1504. options:
  1505. ':': ': (default)'
  1506. ';': '; (for Apache running on Windows)'
  1507. force_ssl:
  1508. type: toggle
  1509. label: PLUGIN_ADMIN.FORCE_SSL
  1510. highlight: 0
  1511. help: PLUGIN_ADMIN.FORCE_SSL_HELP
  1512. options:
  1513. 1: PLUGIN_ADMIN.YES
  1514. 0: PLUGIN_ADMIN.NO
  1515. validate:
  1516. type: bool
  1517. force_lowercase_urls:
  1518. type: toggle
  1519. label: PLUGIN_ADMIN.FORCE_LOWERCASE_URLS
  1520. highlight: 1
  1521. default: 1
  1522. help: PLUGIN_ADMIN.FORCE_LOWERCASE_URLS_HELP
  1523. options:
  1524. 1: PLUGIN_ADMIN.YES
  1525. 0: PLUGIN_ADMIN.NO
  1526. validate:
  1527. type: bool
  1528. custom_base_url:
  1529. type: text
  1530. size: medium
  1531. placeholder: "e.g. http://yoursite.com/yourpath"
  1532. label: PLUGIN_ADMIN.CUSTOM_BASE_URL
  1533. help: PLUGIN_ADMIN.CUSTOM_BASE_URL_HELP
  1534. http_x_forwarded.protocol:
  1535. type: toggle
  1536. label: HTTP_X_FORWARDED_PROTO Enabled
  1537. highlight: 1
  1538. default: 1
  1539. options:
  1540. 1: PLUGIN_ADMIN.YES
  1541. 0: PLUGIN_ADMIN.NO
  1542. validate:
  1543. type: bool
  1544. http_x_forwarded.host:
  1545. type: toggle
  1546. label: HTTP_X_FORWARDED_HOST Enabled
  1547. highlight: 0
  1548. default: 0
  1549. options:
  1550. 1: PLUGIN_ADMIN.YES
  1551. 0: PLUGIN_ADMIN.NO
  1552. validate:
  1553. type: bool
  1554. http_x_forwarded.port:
  1555. type: toggle
  1556. label: HTTP_X_FORWARDED_PORT Enabled
  1557. highlight: 1
  1558. default: 1
  1559. options:
  1560. 1: PLUGIN_ADMIN.YES
  1561. 0: PLUGIN_ADMIN.NO
  1562. validate:
  1563. type: bool
  1564. http_x_forwarded.ip:
  1565. type: toggle
  1566. label: HTTP_X_FORWARDED IP Enabled
  1567. highlight: 1
  1568. default: 1
  1569. options:
  1570. 1: PLUGIN_ADMIN.YES
  1571. 0: PLUGIN_ADMIN.NO
  1572. validate:
  1573. type: bool
  1574. strict_mode.blueprint_compat:
  1575. type: toggle
  1576. label: PLUGIN_ADMIN.STRICT_BLUEPRINT_COMPAT
  1577. highlight: 0
  1578. default: 0
  1579. help: PLUGIN_ADMIN.STRICT_BLUEPRINT_COMPAT_HELP
  1580. options:
  1581. 1: PLUGIN_ADMIN.YES
  1582. 0: PLUGIN_ADMIN.NO
  1583. validate:
  1584. type: bool
  1585. strict_mode.yaml_compat:
  1586. type: toggle
  1587. label: PLUGIN_ADMIN.STRICT_YAML_COMPAT
  1588. highlight: 0
  1589. default: 0
  1590. help: PLUGIN_ADMIN.STRICT_YAML_COMPAT_HELP
  1591. options:
  1592. 1: PLUGIN_ADMIN.YES
  1593. 0: PLUGIN_ADMIN.NO
  1594. validate:
  1595. type: bool
  1596. strict_mode.twig_compat:
  1597. type: toggle
  1598. label: PLUGIN_ADMIN.STRICT_TWIG_COMPAT
  1599. highlight: 0
  1600. default: 0
  1601. help: PLUGIN_ADMIN.STRICT_TWIG_COMPAT_HELP
  1602. options:
  1603. 1: PLUGIN_ADMIN.YES
  1604. 0: PLUGIN_ADMIN.NO
  1605. validate:
  1606. type: bool
  1607. accounts:
  1608. type: tab
  1609. title: PLUGIN_ADMIN.ACCOUNTS
  1610. fields:
  1611. flex_accounts:
  1612. type: section
  1613. title: User Accounts
  1614. accounts.type:
  1615. type: select
  1616. label: PLUGIN_ADMIN.ACCOUNTS_TYPE
  1617. highlight: stable
  1618. help: PLUGIN_ADMIN.ACCOUNTS_TYPE_HELP
  1619. options:
  1620. regular: PLUGIN_ADMIN.REGULAR
  1621. flex: PLUGIN_ADMIN.FLEX
  1622. accounts.storage:
  1623. type: select
  1624. label: PLUGIN_ADMIN.ACCOUNTS_STORAGE
  1625. highlight: stable
  1626. help: PLUGIN_ADMIN.ACCOUNTS_STORAGE_HELP
  1627. options:
  1628. file: PLUGIN_ADMIN.FILE
  1629. folder: PLUGIN_ADMIN.FOLDER
  1630. accounts.avatar:
  1631. type: select
  1632. label: PLUGIN_ADMIN.AVATAR
  1633. default: gravatar
  1634. help: PLUGIN_ADMIN.AVATAR_HELP
  1635. options:
  1636. multiavatar: Multiavatar [local]
  1637. gravatar: Gravatar [external]
  1638. # experimental:
  1639. # type: tab
  1640. # title: PLUGIN_ADMIN.EXPERIMENTAL
  1641. #
  1642. # fields:
  1643. # experimental_section:
  1644. # type: section
  1645. # title: PLUGIN_ADMIN.EXPERIMENTAL
  1646. # underline: true
  1647. #
  1648. # flex_pages:
  1649. # type: section
  1650. # title: Flex Pages
  1651. #
  1652. # pages.type:
  1653. # type: select
  1654. # label: PLUGIN_ADMIN.PAGES_TYPE
  1655. # highlight: regular
  1656. # help: PLUGIN_ADMIN.PAGES_TYPE_HELP
  1657. # options:
  1658. # regular: PLUGIN_ADMIN.REGULAR
  1659. # flex: PLUGIN_ADMIN.FLEX
  1660. #
  1661. # pages.type:
  1662. # type: hidden