Images issue after update #807
-
Hi! I'm trying to update my ananke theme from v2.6.1 -> v2.11.2 and I've seen some great improvements to the theme. Current setup: https://github.com/Soren90/legacyligan/tree/main After I've done the update, it seems like the archive preview on the index site adds the pictures from post/*.md rather than just showing the featured_image as it did before. The same goes for $BASEURL/post, it adds the pictures and kind of borks the site. I've not been able to narrow down where this behavior has changed. Could someone please give me a pointer? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
I am not sure if I understand your issue correct... Hugo itself started in https://github.com/gohugoio/hugo/releases/tag/v0.134.0 to render the preview from the rendered HTML (x words, then extend to the paragraphs boundaries, then cut this and use as summary). This is not something I will not be able to fix within the layout files themselves I am afraid. You could downgrade Hugo to https://github.com/gohugoio/hugo/releases/tag/v0.133.1 to return to the previous summary behaviours. but this will lead to issues down the road with updates to the theme and new Hugo features. You need to edit what your list pages show as summary by adding a You don't need to add a summary to all posts, just the ones where GoHugo goes berserk. Or you could move the actual content of your posts further down and write a less extended intro paragraph, but that is editorial hell... I am not happy with this change in GoHugo, but it does streamline everything, because from three ways to get the summary two always were rendered and one not which seems to have been leading to issues. |
Beta Was this translation helpful? Give feedback.
I am not sure if I understand your issue correct...
Hugo itself started in https://github.com/gohugoio/hugo/releases/tag/v0.134.0 to render the preview from the rendered HTML (x words, then extend to the paragraphs boundaries, then cut this and use as summary). This is not something I will not be able to fix within the layout files themselves I am afraid.
You could downgrade Hugo to https://github.com/gohugoio/hugo/releases/tag/v0.133.1 to return to the previous summary behaviours. but this will lead to issues down the road with updates to the theme and new Hugo features.
You need to edit what your list pages show as summary by adding a
summary
frontmatter to EACH post. That is much work,…