blueprints.yaml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. name: SimpleSearch
  2. version: 1.14.2
  3. description: "Don't be fooled, the **SimpleSearch** plugin provides a **fast** and highly **configurable** way to search your content."
  4. icon: search
  5. author:
  6. name: Team Grav
  7. email: devs@getgrav.org
  8. url: http://getgrav.org
  9. homepage: https://github.com/getgrav/grav-plugin-simplesearch
  10. demo: http://demo.getgrav.org/blog-skeleton
  11. keywords: simplesearch, plugin, search, page, content, find
  12. bugs: https://github.com/getgrav/grav-plugin-simplesearch/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. search_content:
  28. type: select
  29. size: medium
  30. classes: fancy
  31. label: Search Content
  32. default: rendered
  33. options:
  34. rendered: Rendered Content (Slower)
  35. raw: Raw Markdown Content (Faster)
  36. built_in_css:
  37. type: toggle
  38. label: Use built in CSS
  39. highlight: 1
  40. default: 1
  41. options:
  42. 1: PLUGIN_ADMIN.ENABLED
  43. 0: PLUGIN_ADMIN.DISABLED
  44. validate:
  45. type: bool
  46. built_in_js:
  47. type: toggle
  48. label: Use built in JavaScript
  49. highlight: 1
  50. default: 1
  51. options:
  52. 1: PLUGIN_ADMIN.ENABLED
  53. 0: PLUGIN_ADMIN.DISABLED
  54. validate:
  55. type: bool
  56. display_button:
  57. type: toggle
  58. label: Display Search Button
  59. highlight: 0
  60. default: 0
  61. options:
  62. 1: Enabled
  63. 0: Disabled
  64. validate:
  65. type: bool
  66. ignore_accented_characters:
  67. type: toggle
  68. label: Ignore accented characters
  69. help: If enabled, search terms will match accented characters regardless to their diacritics i.e. search results will show up for "cafe" and "café" no matter how you typed it.
  70. highlight: 0
  71. default: 0
  72. options:
  73. 1: Enabled
  74. 0: Disabled
  75. validate:
  76. type: bool
  77. min_query_length:
  78. type: text
  79. size: x-small
  80. label: Minimum query length
  81. help: The mimimum number of characters needed before serach can be submitted
  82. validate:
  83. type: number
  84. min: 0
  85. route:
  86. type: text
  87. size: medium
  88. label: Route
  89. default: /random
  90. help: Default route of the simplesearch plugin
  91. template:
  92. type: text
  93. size: medium
  94. label: Template
  95. default: simplesearch_results
  96. help: Name of the template for the search results
  97. filters.category:
  98. type: selectize
  99. label: Category filter
  100. help: Comma separated list of category names. Enter "@none" to search in all pages.
  101. validate:
  102. type: commalist
  103. filter_combinator:
  104. type: select
  105. size: medium
  106. classes: fancy
  107. label: Filter Combinator
  108. default: and
  109. options:
  110. and: And - Boolean &&
  111. or: Or - Boolean ||
  112. order.by:
  113. type: select
  114. size: long
  115. classes: fancy
  116. label: PLUGIN_ADMIN.DEFAULT_ORDERING
  117. help: PLUGIN_ADMIN.DEFAULT_ORDERING_HELP
  118. options:
  119. default: PLUGIN_ADMIN.DEFAULT_ORDERING_DEFAULT
  120. folder: PLUGIN_ADMIN.DEFAULT_ORDERING_FOLDER
  121. title: PLUGIN_ADMIN.DEFAULT_ORDERING_TITLE
  122. date: PLUGIN_ADMIN.DEFAULT_ORDERING_DATE
  123. order.dir:
  124. type: toggle
  125. label: PLUGIN_ADMIN.DEFAULT_ORDER_DIRECTION
  126. highlight: asc
  127. default: desc
  128. help: PLUGIN_ADMIN.DEFAULT_ORDER_DIRECTION_HELP
  129. options:
  130. asc: PLUGIN_ADMIN.ASCENDING
  131. desc: PLUGIN_ADMIN.DESCENDING