site.yaml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  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. default_lang:
  17. type: text
  18. label: PLUGIN_ADMIN.SITE_DEFAULT_LANG
  19. size: x-small
  20. placeholder: PLUGIN_ADMIN.SITE_DEFAULT_LANG_PLACEHOLDER
  21. help: PLUGIN_ADMIN.SITE_DEFAULT_LANG_HELP
  22. author.name:
  23. type: text
  24. size: large
  25. label: PLUGIN_ADMIN.DEFAULT_AUTHOR
  26. help: PLUGIN_ADMIN.DEFAULT_AUTHOR_HELP
  27. author.email:
  28. type: text
  29. size: large
  30. label: PLUGIN_ADMIN.DEFAULT_EMAIL
  31. help: PLUGIN_ADMIN.DEFAULT_EMAIL_HELP
  32. validate:
  33. type: email
  34. taxonomies:
  35. type: selectize
  36. size: large
  37. label: PLUGIN_ADMIN.TAXONOMY_TYPES
  38. classes: fancy
  39. help: PLUGIN_ADMIN.TAXONOMY_TYPES_HELP
  40. validate:
  41. type: commalist
  42. summary:
  43. type: section
  44. title: PLUGIN_ADMIN.PAGE_SUMMARY
  45. underline: true
  46. fields:
  47. summary.enabled:
  48. type: toggle
  49. label: PLUGIN_ADMIN.ENABLED
  50. highlight: 1
  51. help: PLUGIN_ADMIN.ENABLED_HELP
  52. options:
  53. 1: PLUGIN_ADMIN.YES
  54. 0: PLUGIN_ADMIN.NO
  55. validate:
  56. type: bool
  57. summary.size:
  58. type: text
  59. size: small
  60. append: PLUGIN_ADMIN.CHARACTERS
  61. label: PLUGIN_ADMIN.SUMMARY_SIZE
  62. help: PLUGIN_ADMIN.SUMMARY_SIZE_HELP
  63. validate:
  64. type: int
  65. min: 0
  66. max: 65536
  67. summary.format:
  68. type: toggle
  69. label: PLUGIN_ADMIN.FORMAT
  70. classes: fancy
  71. help: PLUGIN_ADMIN.FORMAT_HELP
  72. highlight: short
  73. options:
  74. 'short': PLUGIN_ADMIN.SHORT
  75. 'long': PLUGIN_ADMIN.LONG
  76. summary.delimiter:
  77. type: text
  78. size: x-small
  79. label: PLUGIN_ADMIN.DELIMITER
  80. help: PLUGIN_ADMIN.DELIMITER_HELP
  81. metadata:
  82. type: section
  83. title: PLUGIN_ADMIN.METADATA
  84. underline: true
  85. fields:
  86. metadata:
  87. type: array
  88. label: PLUGIN_ADMIN.METADATA
  89. help: PLUGIN_ADMIN.METADATA_HELP
  90. placeholder_key: PLUGIN_ADMIN.METADATA_KEY
  91. placeholder_value: PLUGIN_ADMIN.METADATA_VALUE
  92. routes:
  93. type: section
  94. title: PLUGIN_ADMIN.REDIRECTS_AND_ROUTES
  95. underline: true
  96. fields:
  97. redirects:
  98. type: array
  99. label: PLUGIN_ADMIN.CUSTOM_REDIRECTS
  100. help: PLUGIN_ADMIN.CUSTOM_REDIRECTS_HELP
  101. placeholder_key: PLUGIN_ADMIN.CUSTOM_REDIRECTS_PLACEHOLDER_KEY
  102. placeholder_value: PLUGIN_ADMIN.CUSTOM_REDIRECTS_PLACEHOLDER_VALUE
  103. routes:
  104. type: array
  105. label: PLUGIN_ADMIN.CUSTOM_ROUTES
  106. help: PLUGIN_ADMIN.CUSTOM_ROUTES_HELP
  107. placeholder_key: PLUGIN_ADMIN.CUSTOM_ROUTES_PLACEHOLDER_KEY
  108. placeholder_value: PLUGIN_ADMIN.CUSTOM_ROUTES_PLACEHOLDER_VALUE