b41e0b84cdfb728b0b5afb73d2a0c16f.yaml.php 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <?php
  2. return [
  3. '@class' => 'Grav\\Common\\File\\CompiledYamlFile',
  4. 'filename' => '/mnt/data/Sites/hehe.net/user/themes/hehe/blueprints/partials/blog-bits.yaml',
  5. 'modified' => 1533014916,
  6. 'data' => [
  7. 'form' => [
  8. 'fields' => [
  9. 'hero_title' => [
  10. 'type' => 'spacer',
  11. 'title' => 'Hero Section'
  12. ],
  13. 'header.hero_classes' => [
  14. 'type' => 'text',
  15. 'label' => 'Hero Classes',
  16. 'markdown' => true,
  17. '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.'
  18. ],
  19. 'header.hero_image' => [
  20. 'type' => 'filepicker',
  21. 'label' => 'Hero Image',
  22. 'preview_images' => true,
  23. 'description' => 'If not specified, this defaults to the first image found in the page\'s folder'
  24. ],
  25. 'toggles_title' => [
  26. 'type' => 'spacer',
  27. 'title' => 'Configuration'
  28. ],
  29. 'header.blog_url' => [
  30. 'type' => 'text',
  31. 'toggleable' => true,
  32. 'label' => 'Blog Route',
  33. 'help' => 'The route to the main blog page that contains the "Show ..." configuration',
  34. 'default' => '/blog',
  35. 'placeholder' => '/blog',
  36. 'size' => 'medium'
  37. ],
  38. 'header.show_sidebar' => [
  39. 'type' => 'toggle',
  40. 'toggleable' => true,
  41. 'label' => 'Show Sidebar',
  42. 'highlight' => 1,
  43. 'options' => [
  44. 1 => 'PLUGIN_ADMIN.ENABLED',
  45. 0 => 'PLUGIN_ADMIN.DISABLED'
  46. ],
  47. 'validate' => [
  48. 'type' => 'bool'
  49. ]
  50. ],
  51. 'header.show_breadcrumbs' => [
  52. 'type' => 'toggle',
  53. 'toggleable' => true,
  54. 'label' => 'Show Breadcrumbs',
  55. 'highlight' => 1,
  56. 'options' => [
  57. 1 => 'PLUGIN_ADMIN.ENABLED',
  58. 0 => 'PLUGIN_ADMIN.DISABLED'
  59. ],
  60. 'validate' => [
  61. 'type' => 'bool'
  62. ]
  63. ],
  64. 'header.show_pagination' => [
  65. 'type' => 'toggle',
  66. 'toggleable' => true,
  67. 'label' => 'Show Pagination',
  68. 'highlight' => 1,
  69. 'options' => [
  70. 1 => 'PLUGIN_ADMIN.ENABLED',
  71. 0 => 'PLUGIN_ADMIN.DISABLED'
  72. ],
  73. 'validate' => [
  74. 'type' => 'bool'
  75. ]
  76. ]
  77. ]
  78. ]
  79. ]
  80. ];