itsblue-website/themes/itsblue/blueprints/modular/hero.yaml
Dorian Zedler 07bcc3a539
- added MakerLab Murnau Link
- added three new fields of activity
- added new hero image on home page
- added the option to control the initial offset of the hero image
2020-05-06 19:55:37 +02:00

33 lines
1.2 KiB
YAML
Executable file

title: Hero
'@extends': default
form:
fields:
tabs:
fields:
buttons:
type: tab
title: Hero
fields:
header.hero_classes:
type: text
label: Hero Classes
markdown: true
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.'
header.hero_image:
type: filepicker
label: Hero Image
preview_images: true
description: 'If not specified, this defaults to the first image found in the page''s folder'
header.hero_positionY:
type: text
label: Image Y Position
description: 'The initial y Position of the hero image (in percent)'
default: 100
validate:
type: int
min: 0
max: 100