123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113 |
- name: Featherlight
- version: 1.5.0
- 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/)."
- icon: file-photo-o
- author:
- name: Team Grav
- email: devs@getgrav.org
- url: http://getgrav.org
- homepage: https://github.com/getgrav/grav-plugin-featherlight
- keywords: featherlight, plugin, code, lightbox
- bugs: https://github.com/getgrav/grav-plugin-featherlight/issues
- license: MIT
- form:
- validation: strict
- fields:
- enabled:
- type: toggle
- label: PLUGIN_ADMIN.PLUGIN_STATUS
- hightlight: 1
- default: 1
- options:
- 1: PLUGIN_ADMIN.ENABLED
- 0: PLUGIN_ADMIN.DISABLED
- validate:
- type: bool
- active:
- type: toggle
- label: Active
- hightlight: 1
- default: 1
- options:
- 1: PLUGIN_ADMIN.ENABLED
- 0: PLUGIN_ADMIN.DISABLED
- validate:
- type: bool
- help: Activate on all pages. You can override this setting on a page basis
- requirejs:
- type: toggle
- label: RequireJS
- hightlight: 1
- default: 0
- options:
- 1: PLUGIN_ADMIN.ENABLED
- 0: PLUGIN_ADMIN.DISABLED
- validate:
- type: bool
- help: Outputs a AMD module to use with RequireJS
- gallery:
- type: toggle
- label: Gallery
- hightlight: 1
- default: 0
- options:
- 1: PLUGIN_ADMIN.ENABLED
- 0: PLUGIN_ADMIN.DISABLED
- validate:
- type: bool
- help: Enable/disable the lightbox gallery extension
- openSpeed:
- type: text
- size: medium
- label: Open Speed
- default: '250'
- help: Open Speed in ms
- closeSpeed:
- type: text
- size: medium
- label: Close Speed
- default: '250'
- help: Close Speed in ms
- closeOnClick:
- type: select
- size: medium
- classes: fancy
- label: Close on Click
- options:
- background: background
- anywhere: anywhere
- 'false': 'false'
- closeOnEsc:
- type: toggle
- label: Close on Esc
- hightlight: 1
- default: 0
- options:
- 1: PLUGIN_ADMIN.ENABLED
- 0: PLUGIN_ADMIN.DISABLED
- validate:
- type: bool
- help: Close the lightbox on hitting the Esc key
- root:
- type: text
- size: medium
- label: Root
- default: 'body'
- help: Where to append featherlights
- initTemplate:
- type: text
- size: medium
- label: Init script
- default: 'plugin://featherlight/js/featherlight.init.js'
- placeholder: 'plugin://featherlight/js/featherlight.init.js'
- help: Path to template file for JS init script
|