[BUG] featured-image is not rendered
Closed this issue · 4 comments
antedoro commented
Describe the bug
When I start hugo server -D
featured-image-preview.webp on homepage and featuredimage.webp it's not rendered.
(Sorry it's probably not a bug but I need some support to solve it)
Expected behavior
Frontmatter's post it's correctly configured as:
resources:
- name: "featured-image"
src: "featured-image.webp"
- name: "featured-image-preview"
src: "featured-image-preview.webp"
but featured image its not displayed
Build Environment
- OS: [macOS]
- Theme version/commit: [1.0.X, 0548952]
- Hugo version: [0.88.0+extended]
Preview Environment
- OS: [macOS]
- Browser [Chrome, Edge, Firefox]
khusika commented
May i know your both image and markdown file location?
antedoro commented
This is my site repository: https://github.com/antedoro/miosito
antedoro commented
I solved. It was enough to enter the following parameter in the config.toml:
[params.home.posts]
imagePreview = true
Sorry for the trouble on such a trivial thing.
dugajimi
khusika commented
I solved. It was enough to enter the following parameter in the config.toml:
[params.home.posts] imagePreview = true
Sorry for the trouble on such a trivial thing.
dugajimi
Good to know 👍🏻