item.yaml 3.3 KB

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