site.yaml 4.4 KB

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