blueprints.yaml 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. name: Sitemap
  2. type: plugin
  3. slug: sitemap
  4. version: 3.0.1
  5. description: "Provide automatically generated **XML sitemaps** with this very useful, but simple to configure, Grav plugin."
  6. icon: map-marker
  7. author:
  8. name: Team Grav
  9. email: devs@getgrav.org
  10. url: http://getgrav.org
  11. homepage: https://github.com/getgrav/grav-plugin-sitemap
  12. keywords: sitemap, plugin, xml, map, index
  13. bugs: https://github.com/getgrav/grav-plugin-sitemap/issues
  14. license: MIT
  15. dependencies:
  16. - { name: grav, version: '>=1.6.0' }
  17. form:
  18. validation: strict
  19. fields:
  20. enabled:
  21. type: toggle
  22. label: PLUGIN_ADMIN.PLUGIN_STATUS
  23. highlight: 0
  24. default: 0
  25. options:
  26. 1: PLUGIN_ADMIN.ENABLED
  27. 0: PLUGIN_ADMIN.DISABLED
  28. validate:
  29. type: bool
  30. multilang_enabled:
  31. type: toggle
  32. label: PLUGIN_SITEMAP.MULTILANG_ENABLED
  33. help: PLUGIN_SITEMAP.MULTILANG_ENABLED_HELP
  34. highlight: 1
  35. default: 1
  36. options:
  37. 1: PLUGIN_ADMIN.ENABLED
  38. 0: PLUGIN_ADMIN.DISABLED
  39. validate:
  40. type: bool
  41. ignore_external:
  42. type: toggle
  43. label: PLUGIN_SITEMAP.IGNORE_EXTERNAL
  44. help: PLUGIN_SITEMAP.IGNORE_EXTERNAL_HELP
  45. highlight: 1
  46. default: 1
  47. options:
  48. 1: PLUGIN_ADMIN.ENABLED
  49. 0: PLUGIN_ADMIN.DISABLED
  50. validate:
  51. type: bool
  52. ignore_protected:
  53. type: toggle
  54. label: PLUGIN_SITEMAP.IGNORE_PROTECTED
  55. help: PLUGIN_SITEMAP.IGNORE_PROTECTED_HELP
  56. highlight: 1
  57. default: 1
  58. options:
  59. 1: PLUGIN_ADMIN.ENABLED
  60. 0: PLUGIN_ADMIN.DISABLED
  61. validate:
  62. type: bool
  63. ignore_redirect:
  64. type: toggle
  65. label: PLUGIN_SITEMAP.IGNORE_REDIRECT
  66. help: PLUGIN_SITEMAP.IGNORE_REDIRECT_HELP
  67. highlight: 1
  68. default: 1
  69. options:
  70. 1: PLUGIN_ADMIN.ENABLED
  71. 0: PLUGIN_ADMIN.DISABLED
  72. validate:
  73. type: bool
  74. ignores:
  75. type: array
  76. label: PLUGIN_SITEMAP.IGNORES
  77. help: PLUGIN_SITEMAP.IGNORES_HELP
  78. value_only: true
  79. placeholder_value: '/ignore-this-route'
  80. route:
  81. type: text
  82. label: PLUGIN_SITEMAP.ROUTE
  83. placeholder: /sitemap
  84. validate:
  85. pattern: "/([a-z-_]+/?)+"
  86. html_support:
  87. type: toggle
  88. label: PLUGIN_SITEMAP.HTML_SUPPORT
  89. help: PLUGIN_SITEMAP.HTML_SUPPORT_HELP
  90. highlight: 0
  91. default: 0
  92. options:
  93. 1: PLUGIN_ADMIN.ENABLED
  94. 0: PLUGIN_ADMIN.DISABLED
  95. validate:
  96. type: bool
  97. urlset:
  98. type: text
  99. default: 'http://www.sitemaps.org/schemas/sitemap/0.9'
  100. label: PLUGIN_SITEMAP.URLSET
  101. help: PLUGIN_SITEMAP.URLSET_HELP
  102. short_date_format:
  103. type: toggle
  104. label: PLUGIN_ADMIN.SHORT_DATE_FORMAT
  105. help: PLUGIN_ADMIN.SHORT_DATE_FORMAT_HELP
  106. highlight: 1
  107. default: 0
  108. options:
  109. 1: PLUGIN_ADMIN.ENABLED
  110. 0: PLUGIN_ADMIN.DISABLED
  111. validate:
  112. type: bool
  113. include_changefreq:
  114. type: toggle
  115. label: PLUGIN_SITEMAP.INCLUDE_CHANGEFREQ
  116. help: PLUGIN_SITEMAP.INCLUDE_CHANGEFREQ_HELP
  117. highlight: 1
  118. default: 0
  119. options:
  120. 1: PLUGIN_ADMIN.ENABLED
  121. 0: PLUGIN_ADMIN.DISABLED
  122. validate:
  123. type: bool
  124. changefreq:
  125. type: select
  126. label: PLUGIN_SITEMAP.CHANGEFREQ
  127. default: ''
  128. options:
  129. '': PLUGIN_SITEMAP.CHANGEFREQ_DEFAULT
  130. always: PLUGIN_SITEMAP.CHANGEFREQ_ALWAYS
  131. hourly: PLUGIN_SITEMAP.CHANGEFREQ_HOURLY
  132. daily: PLUGIN_SITEMAP.CHANGEFREQ_DAILY
  133. weekly: PLUGIN_SITEMAP.CHANGEFREQ_WEEKLY
  134. monthly: PLUGIN_SITEMAP.CHANGEFREQ_MONTHLY
  135. yearly: PLUGIN_SITEMAP.CHANGEFREQ_YEARLY
  136. never: PLUGIN_SITEMAP.CHANGEFREQ_NEVER
  137. include_priority:
  138. type: toggle
  139. label: PLUGIN_SITEMAP.INCLUDE_PRIORITY
  140. help: PLUGIN_SITEMAP.INCLUDE_PRIORITY_HELP
  141. highlight: 1
  142. default: 0
  143. options:
  144. 1: PLUGIN_ADMIN.ENABLED
  145. 0: PLUGIN_ADMIN.DISABLED
  146. validate:
  147. type: bool
  148. priority:
  149. type: select
  150. label: PLUGIN_SITEMAP.PRIORITY
  151. default: ''
  152. options:
  153. '': PLUGIN_SITEMAP.PRIORITY_USE_GLOBAL
  154. '0.1': 0.1
  155. '0.2': 0.2
  156. '0.3': 0.3
  157. '0.4': 0.4
  158. '0.5': 0.5
  159. '0.6': 0.6
  160. '0.7': 0.7
  161. '0.8': 0.8
  162. '0.9': 0.9
  163. '1.0': 1.0
  164. validate:
  165. type: float
  166. additions:
  167. type: list
  168. label: PLUGIN_SITEMAP.ADDITIONS
  169. help: PLUGIN_SITEMAP.ADDITIONS_HELP
  170. fields:
  171. .location:
  172. type: text
  173. label: PLUGIN_SITEMAP.LOCATION
  174. placeholder: "/not-a-grav-url"
  175. .lastmod:
  176. type: text
  177. label: PLUGIN_SITEMAP.LASTMOD
  178. placeholder: "2017-04-06"
  179. .changefreq:
  180. type: select
  181. label: PLUGIN_SITEMAP.CHANGEFREQ
  182. default: ''
  183. options:
  184. '': PLUGIN_SITEMAP.CHANGEFREQ_DEFAULT
  185. always: PLUGIN_SITEMAP.CHANGEFREQ_ALWAYS
  186. hourly: PLUGIN_SITEMAP.CHANGEFREQ_HOURLY
  187. daily: PLUGIN_SITEMAP.CHANGEFREQ_DAILY
  188. weekly: PLUGIN_SITEMAP.CHANGEFREQ_WEEKLY
  189. monthly: PLUGIN_SITEMAP.CHANGEFREQ_MONTHLY
  190. yearly: PLUGIN_SITEMAP.CHANGEFREQ_YEARLY
  191. never: PLUGIN_SITEMAP.CHANGEFREQ_NEVER
  192. .priority:
  193. type: select
  194. label: PLUGIN_SITEMAP.PRIORITY
  195. default: ''
  196. options:
  197. '': PLUGIN_SITEMAP.PRIORITY_USE_GLOBAL
  198. '0.1': 0.1
  199. '0.2': 0.2
  200. '0.3': 0.3
  201. '0.4': 0.4
  202. '0.5': 0.5
  203. '0.6': 0.6
  204. '0.7': 0.7
  205. '0.8': 0.8
  206. '0.9': 0.9
  207. '1.0': 1.0
  208. validate:
  209. type: float