You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
1.9 KiB

7 years ago
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.'
7 years ago
header.hero_image:
type: filepicker
label: Hero Image
preview_images: true
toggleable: true
7 years ago
description: 'If not specified, this defaults to the first image found in the page''s folder'
header.hero_autosize:
type: toggle
label: Hero Image Autosize
description: Resize image to cover the entire width
default: 1
highlight: 1
options:
1: Yes
0: No
validate:
type: bool
7 years ago
header.hero_position:
type: text
size: small
label: Hero Image Position
description: Horizontal image position in %
default: 50
validate:
type: number
min: 0
max: 100
header.hero_background_image:
type: filepicker
label: Hero Background Image
preview_images: true
toggleable: true
header.hero_background_color:
type: colorpicker
label: Hero Background Color
toggleable: true