item.yaml 3.0 KB

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