Hero images

Every page and section may have a hero image. Hero image is used by the theme and for Open Graph meta og:image. Hero image is defined in content front matter. You can specify path to one of your static paths, page or section assets.

    +++
    [extra.poly]
    hero="my-hero-image.png"
    +++

Fallback og:image (one for entire site) can be configured in your config.toml and must point to a static file

    [extra.poly]
    og_image= "/og.png"

Theme resizes and optimizes hero and social images using Zola's resize_image().