item.yaml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  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. default: 1
  21. options:
  22. 1: PLUGIN_ADMIN.ENABLED
  23. 0: PLUGIN_ADMIN.DISABLED
  24. validate:
  25. type: bool
  26. header.header_image:
  27. type: toggle
  28. toggleable: true
  29. label: Display Header Image
  30. help: Enabled displaying of a header image
  31. highlight: 1
  32. options:
  33. 1: PLUGIN_ADMIN.ENABLED
  34. 0: PLUGIN_ADMIN.DISABLED
  35. header.header_image_file:
  36. type: text
  37. toggleable: true
  38. label: Image File
  39. help: image filename that exists in the page folder. If not provided, will use the first image found.
  40. placeholder: For example: myimage.jpg
  41. header.header_image_width:
  42. type: text
  43. toggleable: true
  44. label: Image Width
  45. size: small
  46. help: Header width in px
  47. placeholder: Default is 900
  48. validate:
  49. type: int
  50. min: 0
  51. max: 5000
  52. header.header_image_height:
  53. type: text
  54. toggleable: true
  55. label: Image Height
  56. size: small
  57. help: Header height in px
  58. placeholder: Default is 300
  59. validate:
  60. type: int
  61. min: 0
  62. max: 5000
  63. summary:
  64. type: section
  65. title: Summary
  66. underline: true
  67. header.summary.enabled:
  68. type: toggle
  69. toggleable: true
  70. label: Summary
  71. highlight: 1
  72. options:
  73. 1: PLUGIN_ADMIN.ENABLED
  74. 0: PLUGIN_ADMIN.DISABLED
  75. header.summary.format:
  76. type: select
  77. toggleable: true
  78. label: Format
  79. classes: fancy
  80. options:
  81. 'short': 'Use the first occurence of delimter or size'
  82. 'long': 'Summary delimiter will be ignored'
  83. header.summary.size:
  84. type: text
  85. toggleable: true
  86. label: Size
  87. classes: large
  88. placeholder: 300
  89. validate:
  90. type: int
  91. min: 1
  92. header.summary.delimiter:
  93. type: text
  94. toggleable: true
  95. label: Summary delimiter
  96. classes: large
  97. placeholder: ===
  98. import@:
  99. type: partials/blog-bits