blog-bits.yaml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. form:
  2. fields:
  3. hero_title:
  4. type: spacer
  5. title: Hero Section
  6. header.hero_classes:
  7. type: text
  8. label: Hero Classes
  9. markdown: true
  10. description: 'There are several Hero class options that can be listed here (space separated):<br />`text-light`, `text-dark`, `title-h1h2`, `parallax`, `overlay-dark-gradient`, `overlay-light-gradient`, `overlay-dark`, `overlay-light`, `hero-fullscreen`, `hero-large`, `hero-medium`, `hero-small`, `hero-tiny`<br />Please consult the [Quark documentation](https://github.com/getgrav/grav-theme-quark#hero-options) for more details.'
  11. header.hero_image:
  12. type: filepicker
  13. label: Hero Image
  14. preview_images: true
  15. description: 'If not specified, this defaults to the first image found in the page''s folder'
  16. toggles_title:
  17. type: spacer
  18. title: Configuration
  19. header.blog_url:
  20. type: text
  21. label: Blog Route
  22. help: The route to this main blog page that contains this configuration
  23. default: '/blog'
  24. placeholder: '/blog'
  25. size: medium
  26. header.show_sidebar:
  27. type: toggle
  28. label: Show Sidebar
  29. highlight: 1
  30. default: 1
  31. options:
  32. 1: PLUGIN_ADMIN.ENABLED
  33. 0: PLUGIN_ADMIN.DISABLED
  34. validate:
  35. type: bool
  36. header.show_breadcrumbs:
  37. type: toggle
  38. label: Show Breadcrumbs
  39. highlight: 1
  40. default: 1
  41. options:
  42. 1: PLUGIN_ADMIN.ENABLED
  43. 0: PLUGIN_ADMIN.DISABLED
  44. validate:
  45. type: bool
  46. header.show_pagination:
  47. type: toggle
  48. label: Show Pagination
  49. highlight: 1
  50. default: 1
  51. options:
  52. 1: PLUGIN_ADMIN.ENABLED
  53. 0: PLUGIN_ADMIN.DISABLED
  54. validate:
  55. type: bool