hugo-coder
hugo-coder copied to clipboard
`featuredImage` does not correctly link to images in a page bundle
Describe the problem:
The page's featured image does not display when using bundled resources. This worked in an older version of hugo-coder but after updating it appears to no longer work.
Steps to reproduce:
- Create a page bundle containing an image. I have a few in this bundle.
- Set that image as the
featuredImage
Observed Results:
The image does not display:
I believe this is because of the | relURL
pipe in the posts/single.html
partial. If I remove that line and just display .Params.featuredImage
it's fine:
I imagine having this relURL is probably useful for other use cases but it would be nice if Hugo supported bundled images in the header for easy asset organization.