No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

blueprints.yaml 2.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. name: Anchors
  2. version: 1.5.1
  3. description: "This plugin provides automatic header anchors via the [anchorjs](http://bryanbraun.github.io/anchorjs) jQuery plugin."
  4. icon: anchor
  5. author:
  6. name: Team Grav
  7. email: devs@getgrav.org
  8. url: http://getgrav.org
  9. homepage: https://github.com/getgrav/grav-plugin-anchors
  10. demo: http://learn.getgrav.org
  11. keywords: anchor, header, plugin, code
  12. bugs: https://github.com/getgrav/grav-plugin-anchors/issues
  13. license: MIT
  14. form:
  15. validation: strict
  16. fields:
  17. enabled:
  18. type: toggle
  19. label: PLUGIN_ADMIN.PLUGIN_STATUS
  20. highlight: 1
  21. default: 0
  22. options:
  23. 1: PLUGIN_ADMIN.ENABLED
  24. 0: PLUGIN_ADMIN.DISABLED
  25. validate:
  26. type: bool
  27. active:
  28. type: toggle
  29. label: Active
  30. highlight: 1
  31. default: 1
  32. options:
  33. 1: PLUGIN_ADMIN.ENABLED
  34. 0: PLUGIN_ADMIN.DISABLED
  35. validate:
  36. type: bool
  37. help: Activate for all pages. If disabled then you must activate per-page
  38. selectors:
  39. type: text
  40. label: Selectors
  41. size: large
  42. default: 'h1,h2,h3,h4'
  43. placeholder: "Anchor Selectors"
  44. help: Comma separated list of header selectors to activate on
  45. placement:
  46. type: select
  47. label: Placement
  48. classes: fancy
  49. help: "Either `left` or `right`"
  50. default: 'right'
  51. options:
  52. 'left': 'left'
  53. 'right': 'right'
  54. visible:
  55. type: select
  56. label: Visible
  57. classes: fancy
  58. help: "Hover activates on `hover` else will always display"
  59. default: 'hover'
  60. options:
  61. 'hover': 'hover'
  62. 'always': 'always'
  63. icon:
  64. type: text
  65. label: Icon
  66. size: medium
  67. default: ''
  68. help: "Replace the default link icon with the character(s) provided, e.g. #, ¶, ❡ or §"
  69. class:
  70. type: text
  71. label: Class
  72. size: medium
  73. default: ''
  74. help: "Adds the provided class to the anchor html"
  75. truncate:
  76. type: text
  77. size: x-small
  78. label: Truncate
  79. help: "Truncates the generated ID to the specified character length"
  80. default: 64
  81. validate:
  82. type: number
  83. min: 0