site.yaml 4.3 KB

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