blueprints.yaml 988 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. name: Auto Author
  2. version: 0.1.0
  3. description: Automatically adds an author to frontmatter when creating a new page via Grav Admin plugin
  4. icon: user-circle
  5. author:
  6. name: Sven Sanzenbacher
  7. homepage: https://github.com/naucon/grav-plugin-auto-author
  8. keywords: grav, plugin, auto-author, author, autor, frontmatter
  9. bugs: https://github.com/naucon/grav-plugin-auto-author/issues
  10. docs: https://github.com/naucon/grav-plugin-auto-author/blob/develop/README.md
  11. license: MIT
  12. dependencies:
  13. - { name: admin, version: '>=1.2.3' }
  14. form:
  15. validation: strict
  16. fields:
  17. enabled:
  18. type: toggle
  19. label: Plugin status
  20. highlight: 1
  21. default: 0
  22. options:
  23. 1: Enabled
  24. 0: Disabled
  25. validate:
  26. type: bool
  27. user:
  28. type: toggle
  29. label: Current user
  30. highlight: 1
  31. default: 0
  32. options:
  33. 1: Enabled
  34. 0: Disabled
  35. validate:
  36. type: bool
  37. help: use current admin user (fullname) or site author