You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Tempystral
changed the title
featuredImage does not show images in a page bundlefeaturedImage does not correctly link to images in a page bundle
Jan 7, 2023
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:
featuredImage
Observed Results:
The image does not display:
I believe this is because of the
| relURL
pipe in theposts/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.
The text was updated successfully, but these errors were encountered: