site.yaml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. title: PLUGIN_ADMIN.SITE
  2. form:
  3. validation: loose
  4. fields:
  5. content:
  6. type: section
  7. title: PLUGIN_ADMIN.DEFAULTS
  8. underline: true
  9. fields:
  10. title:
  11. type: text
  12. label: PLUGIN_ADMIN.SITE_TITLE
  13. size: large
  14. placeholder: PLUGIN_ADMIN.SITE_TITLE_PLACEHOLDER
  15. help: PLUGIN_ADMIN.SITE_TITLE_HELP
  16. author.name:
  17. type: text
  18. size: large
  19. label: PLUGIN_ADMIN.DEFAULT_AUTHOR
  20. help: PLUGIN_ADMIN.DEFAULT_AUTHOR_HELP
  21. author.email:
  22. type: text
  23. size: large
  24. label: PLUGIN_ADMIN.DEFAULT_EMAIL
  25. help: PLUGIN_ADMIN.DEFAULT_EMAIL_HELP
  26. validate:
  27. type: email
  28. taxonomies:
  29. type: selectize
  30. size: large
  31. label: PLUGIN_ADMIN.TAXONOMY_TYPES
  32. classes: fancy
  33. help: PLUGIN_ADMIN.TAXONOMY_TYPES_HELP
  34. validate:
  35. type: commalist
  36. summary:
  37. type: section
  38. title: PLUGIN_ADMIN.PAGE_SUMMARY
  39. underline: true
  40. fields:
  41. summary.enabled:
  42. type: toggle
  43. label: PLUGIN_ADMIN.ENABLED
  44. highlight: 1
  45. help: PLUGIN_ADMIN.ENABLED_HELP
  46. options:
  47. 1: PLUGIN_ADMIN.YES
  48. 0: PLUGIN_ADMIN.NO
  49. validate:
  50. type: bool
  51. summary.size:
  52. type: text
  53. size: x-small
  54. label: PLUGIN_ADMIN.SUMMARY_SIZE
  55. help: PLUGIN_ADMIN.SUMMARY_SIZE_HELP
  56. validate:
  57. type: int
  58. min: 0
  59. max: 65536
  60. summary.format:
  61. type: toggle
  62. label: PLUGIN_ADMIN.FORMAT
  63. classes: fancy
  64. help: PLUGIN_ADMIN.FORMAT_HELP
  65. highlight: short
  66. options:
  67. 'short': PLUGIN_ADMIN.SHORT
  68. 'long': PLUGIN_ADMIN.LONG
  69. summary.delimiter:
  70. type: text
  71. size: x-small
  72. label: PLUGIN_ADMIN.DELIMITER
  73. help: PLUGIN_ADMIN.DELIMITER_HELP
  74. metadata:
  75. type: section
  76. title: PLUGIN_ADMIN.METADATA
  77. underline: true
  78. fields:
  79. metadata:
  80. type: array
  81. label: PLUGIN_ADMIN.METADATA
  82. help: PLUGIN_ADMIN.METADATA_HELP
  83. placeholder_key: PLUGIN_ADMIN.METADATA_KEY
  84. placeholder_value: PLUGIN_ADMIN.METADATA_VALUE
  85. routes:
  86. type: section
  87. title: PLUGIN_ADMIN.REDIRECTS_AND_ROUTES
  88. underline: true
  89. fields:
  90. redirects:
  91. type: array
  92. label: PLUGIN_ADMIN.CUSTOM_REDIRECTS
  93. help: PLUGIN_ADMIN.CUSTOM_REDIRECTS_HELP
  94. placeholder_key: PLUGIN_ADMIN.CUSTOM_REDIRECTS_PLACEHOLDER_KEY
  95. placeholder_value: PLUGIN_ADMIN.CUSTOM_REDIRECTS_PLACEHOLDER_VALUE
  96. routes:
  97. type: array
  98. label: PLUGIN_ADMIN.CUSTOM_ROUTES
  99. help: PLUGIN_ADMIN.CUSTOM_ROUTES_HELP
  100. placeholder_key: PLUGIN_ADMIN.CUSTOM_ROUTES_PLACEHOLDER_KEY
  101. placeholder_value: PLUGIN_ADMIN.CUSTOM_ROUTES_PLACEHOLDER_VALUE