Quantcast
Channel: Page Bundle, relative image path in RSS feed wrong
Browsing all 10 articles
Browse latest View live

Page Bundle, relative image path in RSS feed wrong

Hey there, I’m using Hugo with page bundles, so all my posts are located in paths like the following: content/posts/2014-01-10-my-first-blog-post/index.md In my index.md I reference images the...

View Article


Page Bundle, relative image path in RSS feed wrong

Hi, it looks like the issue I have when I look at my page headers. I haven’t solved it yet… When you look at the source code of your generated pages, are all the image URLs wrong in the meta headers?...

View Article


Page Bundle, relative image path in RSS feed wrong

Hey, when I look into the generated feed (feed.xml) I see the images are linked like: <img src="image.png"> In the generated page of the post itself they are also linked like: <p><img...

View Article

Image may be NSFW.
Clik here to view.

Page Bundle, relative image path in RSS feed wrong

You can try this solution: Absolute URLs in RSS Feeds support To solve this I ended up using a hyper complex partial to replace all URLs by absolute ones in the .Content variable on feeds: {{ $html :=...

View Article

Page Bundle, relative image path in RSS feed wrong

Interesting, thanks. Unfortunately I couldn’t get it to work. Line 72:11 is the last one with return $html hugo server -D Built in 853 ms Error: Error building site: failed to render pages: render of...

View Article


Page Bundle, relative image path in RSS feed wrong

ahh, the OP actually use it inside partial. replace: {{ return $html }} with: {{ $html }} Read full topic

View Article

Page Bundle, relative image path in RSS feed wrong

Ah, well spotted! Thanks! I got it to work but then I have absolute links based on the baseURL and not the URL of the page bundles. The resulting URL is then: blog.example.com/image.png instead of...

View Article

Image may be NSFW.
Clik here to view.

Page Bundle, relative image path in RSS feed wrong

AFAIK, yes using {{<figure>}} does the job. If you really want to keep using markdown syntax to include your images. You can use Markdown Render Hooks. (Need to create your own render hook...

View Article


Page Bundle, relative image path in RSS feed wrong

Ah, that seems like a good solution I haven’t tried. I’ll give that a try in the next days. Thanks! Read full topic

View Article


Page Bundle, relative image path in RSS feed wrong

Came here through a search engine. An RSS-specific image render hook is working well for me, thanks @pamubay! I put the following contents in layouts/_default/_markup/render-image.rss.xml: {{/* Make...

View Article
Browsing all 10 articles
Browse latest View live


Latest Images