item.yaml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. extends@: default
  2. form:
  3. fields:
  4. tabs:
  5. fields:
  6. blog:
  7. type: tab
  8. title: Blog Item
  9. fields:
  10. header_image:
  11. type: section
  12. title: Header Image
  13. underline: true
  14. header.header_image:
  15. type: toggle
  16. toggleable: true
  17. label: Display Header Image
  18. help: Enabled displaying of a header image
  19. highlight: 1
  20. options:
  21. 1: PLUGIN_ADMIN.ENABLED
  22. 0: PLUGIN_ADMIN.DISABLED
  23. header.header_image_file:
  24. type: text
  25. toggleable: true
  26. label: Image File
  27. help: image filename that exists in the page folder. If not provided, will use the first image found.
  28. placeholder: For example: myimage.jpg
  29. header.header_image_width:
  30. type: text
  31. toggleable: true
  32. label: Image Width
  33. size: small
  34. help: Header width in px
  35. placeholder: Default is 900
  36. validate:
  37. type: int
  38. min: 0
  39. max: 5000
  40. header.header_image_height:
  41. type: text
  42. toggleable: true
  43. label: Image Height
  44. size: small
  45. help: Header height in px
  46. placeholder: Default is 300
  47. validate:
  48. type: int
  49. min: 0
  50. max: 5000
  51. summary:
  52. type: section
  53. title: Summary
  54. underline: true
  55. header.summary.enabled:
  56. type: toggle
  57. toggleable: true
  58. label: Summary
  59. highlight: 1
  60. options:
  61. 1: PLUGIN_ADMIN.ENABLED
  62. 0: PLUGIN_ADMIN.DISABLED
  63. header.summary.format:
  64. type: select
  65. toggleable: true
  66. label: Format
  67. classes: fancy
  68. options:
  69. 'short': 'Use the first occurence of delimter or size'
  70. 'long': 'Summary delimiter will be ignored'
  71. header.summary.size:
  72. type: text
  73. toggleable: true
  74. label: Size
  75. classes: large
  76. placeholder: 300
  77. validate:
  78. type: int
  79. min: 1
  80. header.summary.delimiter:
  81. type: text
  82. toggleable: true
  83. label: Summary delimiter
  84. classes: large
  85. placeholder: ===
  86. import@:
  87. type: partials/blog-bits