blueprints.yaml.twig 1002 B

123456789101112131415161718192021222324252627282930313233
  1. {% set githubid = component.author.githubid ?: component.author.name|hyphenize -%}
  2. name: {{ component.name|titleize }}
  3. slug: {{ component.name|hyphenize }}
  4. type: theme
  5. version: 0.1.0
  6. description: {{ component.description }}
  7. icon: rebel
  8. author:
  9. name: {{ component.author.name }}
  10. email: {{ component.author.email }}
  11. homepage: https://github.com/{{ githubid }}/grav-theme-{{ component.name|hyphenize }}
  12. demo: http://demo.yoursite.com
  13. keywords: grav, theme, etc
  14. bugs: https://github.com/{{ githubid }}/grav-theme-{{ component.name|hyphenize }}/issues
  15. readme: https://github.com/{{ githubid }}/grav-theme-{{ component.name|hyphenize }}/blob/develop/README.md
  16. license: MIT
  17. dependencies:
  18. - { name: grav, version: '>=1.6.0' }
  19. form:
  20. validation: loose
  21. fields:
  22. dropdown.enabled:
  23. type: toggle
  24. label: Dropdown in Menu
  25. highlight: 1
  26. default: 1
  27. options:
  28. 1: PLUGIN_ADMIN.ENABLED
  29. 0: PLUGIN_ADMIN.DISABLED
  30. validate:
  31. type: bool