Feature images in Yore appear as hero banners, thumbnails, and social sharing metadata.
Automatic Detection
When using index.md inside a directory (creating a leaf bundle), Yore automatically detects images with the feature* prefix and uses them as the page's feature image.
For example, this structure:
content/
âââ posts/
âââ my-article/
âââ index.md
âââ feature.webpwill automatically use feature.webp as the hero image, thumbnail, and social sharing image.
Manual Configuration
You can explicitly specify a feature image using the pageFeatureImage parameter in front matter:
index.md
---
title: My Article
params:
# Specifies the image in `assets/img/07.webp`
pageFeatureImage: img/07.webp
---Info
The params field contains theme-specific configuration, not Hugo core settings.
Hero Image Styles
The pageHeroStyle parameter controls how the hero image is displayed. It can be set globally in hugo.yaml or overridden per page in front matter.
index.md
---
title: My Article
params:
pageHeroStyle: background
---big: Large hero image at full content widthbackground: Full-width background image with text overlaydisable: No hero image display (image still used for metadata)