blueprints.yaml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. name: Featherlight
  2. version: 1.5.0
  3. description: "Featherlight is a simple [Grav](http://github.com/getgrav/grav) plugin that adds **lightbox** functionality via the jQuery plugin [Featherlight.js](http://noelboss.github.io/featherlight/)."
  4. icon: file-photo-o
  5. author:
  6. name: Team Grav
  7. email: devs@getgrav.org
  8. url: http://getgrav.org
  9. homepage: https://github.com/getgrav/grav-plugin-featherlight
  10. keywords: featherlight, plugin, code, lightbox
  11. bugs: https://github.com/getgrav/grav-plugin-featherlight/issues
  12. license: MIT
  13. form:
  14. validation: strict
  15. fields:
  16. enabled:
  17. type: toggle
  18. label: PLUGIN_ADMIN.PLUGIN_STATUS
  19. hightlight: 1
  20. default: 1
  21. options:
  22. 1: PLUGIN_ADMIN.ENABLED
  23. 0: PLUGIN_ADMIN.DISABLED
  24. validate:
  25. type: bool
  26. active:
  27. type: toggle
  28. label: Active
  29. hightlight: 1
  30. default: 1
  31. options:
  32. 1: PLUGIN_ADMIN.ENABLED
  33. 0: PLUGIN_ADMIN.DISABLED
  34. validate:
  35. type: bool
  36. help: Activate on all pages. You can override this setting on a page basis
  37. requirejs:
  38. type: toggle
  39. label: RequireJS
  40. hightlight: 1
  41. default: 0
  42. options:
  43. 1: PLUGIN_ADMIN.ENABLED
  44. 0: PLUGIN_ADMIN.DISABLED
  45. validate:
  46. type: bool
  47. help: Outputs a AMD module to use with RequireJS
  48. gallery:
  49. type: toggle
  50. label: Gallery
  51. hightlight: 1
  52. default: 0
  53. options:
  54. 1: PLUGIN_ADMIN.ENABLED
  55. 0: PLUGIN_ADMIN.DISABLED
  56. validate:
  57. type: bool
  58. help: Enable/disable the lightbox gallery extension
  59. openSpeed:
  60. type: text
  61. size: medium
  62. label: Open Speed
  63. default: '250'
  64. help: Open Speed in ms
  65. closeSpeed:
  66. type: text
  67. size: medium
  68. label: Close Speed
  69. default: '250'
  70. help: Close Speed in ms
  71. closeOnClick:
  72. type: select
  73. size: medium
  74. classes: fancy
  75. label: Close on Click
  76. options:
  77. background: background
  78. anywhere: anywhere
  79. 'false': 'false'
  80. closeOnEsc:
  81. type: toggle
  82. label: Close on Esc
  83. hightlight: 1
  84. default: 0
  85. options:
  86. 1: PLUGIN_ADMIN.ENABLED
  87. 0: PLUGIN_ADMIN.DISABLED
  88. validate:
  89. type: bool
  90. help: Close the lightbox on hitting the Esc key
  91. root:
  92. type: text
  93. size: medium
  94. label: Root
  95. default: 'body'
  96. help: Where to append featherlights
  97. initTemplate:
  98. type: text
  99. size: medium
  100. label: Init script
  101. default: 'plugin://featherlight/js/featherlight.init.js'
  102. placeholder: 'plugin://featherlight/js/featherlight.init.js'
  103. help: Path to template file for JS init script