Hero Section
Configure the main banner at the top of your landing page.
The hero section is the main banner displayed at the top of your landing page. It includes a title, optional badge, description, background image, and call-to-action buttons.
Configuration
[extra.hero]
title = "Welcome to Goyo!"
badge = "Clean Theme, Tranquil Feel"
description = "A simple and clean Zola theme for documentation."
image = "/images/landing.jpg" # Background image
gradient_opacity = 20 # Opacity of the animated gradient background (0-100, default: 20)
image_opacity = 20 # Opacity of the background image (0-100, default: 20)
cta_buttons = [
{ text = "Get Started", url = "/get-started/installation/", style = "primary" },
{ text = "View on GitHub", url = "https://github.com/your/repo", style = "secondary" },
]Properties
title(required): Main heading textbadge(optional): Small badge text displayed above the titledescription(required): Descriptive text below the titleimage(optional): Path to background imagegradient_opacity(optional): Opacity of the animated gradient background. Valid values: 0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70, 75, 80, 85, 90, 95, 100 (default: 20)image_opacity(optional): Opacity of the background image. Valid values: 0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70, 75, 80, 85, 90, 95, 100 (default: 20)cta_buttons(optional): Array of call-to-action buttonstext: Button labelurl: Link destinationstyle: Button style (primaryorsecondary)