I love Hugo for its render speed, but the documentation could be better. Somehow I continuously run into issues that need quite convoluted solutions to solve. Today’s problem is to get absolute URLs for image links in the content part, so my images work correctly in the feeds. It looks like this is a solution Oo.
Comments
@jack You're welcome. I've also found this feature: gohugo.io/getting-s... It would allow for a nicer solution but only works with images. And you're right this would also allow me to move my assets back next to the md file as well.
by V_ on
How to respond
Write your comment on your on page and link it to this page with the following link:
https://vmac.ch/posts/2021-02-06-i-love-hugo-for-its-1612615826/
Then insert the permalink to your post into the form below and submit it.
Alternatively you can reach me by email to: comment@vmac.ch
@V_ Thanks for that. I'll have to try it. I'd given up on images in the RSS feed because I really like the convenience of using relative URLs and keeping the post's assets in the same folder as the Markdown file.
by jack on