item.yaml 2.6 KB

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