blog-bits.yaml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. toggleable: true
  22. label: Blog Route
  23. help: The route to the main blog page that contains the "Show ..." configuration
  24. default: '/blog'
  25. placeholder: '/blog'
  26. size: medium
  27. header.show_sidebar:
  28. type: toggle
  29. toggleable: true
  30. label: Show Sidebar
  31. highlight: 1
  32. options:
  33. 1: PLUGIN_ADMIN.ENABLED
  34. 0: PLUGIN_ADMIN.DISABLED
  35. validate:
  36. type: bool
  37. header.show_breadcrumbs:
  38. type: toggle
  39. toggleable: true
  40. label: Show Breadcrumbs
  41. highlight: 1
  42. options:
  43. 1: PLUGIN_ADMIN.ENABLED
  44. 0: PLUGIN_ADMIN.DISABLED
  45. validate:
  46. type: bool
  47. header.show_pagination:
  48. type: toggle
  49. toggleable: true
  50. label: Show Pagination
  51. highlight: 1
  52. options:
  53. 1: PLUGIN_ADMIN.ENABLED
  54. 0: PLUGIN_ADMIN.DISABLED
  55. validate:
  56. type: bool