RSS feed doesn't produce valid links #1518
-
Hi folks 👋, Looking at the example site RSS, I see the produced URL (under the Is this expected? I will keep investigating on my end in the meantime. <title>Goldydocs – Docsy Blog</title>
<link>/blog/</link>
<description>Recent content in Docsy Blog on Goldydocs</description>
<generator>Hugo -- gohugo.io</generator>
<atom:link href="/blog/index.xml" rel="self" type="application/rss+xml"/>
<item>
<title>Blog: Easy documentation with Docsy</title>
<link>/blog/2018/10/06/easy-documentation-with-docsy/</link>
<pubDate>Sat, 06 Oct 2018 00:00:00 +0000</pubDate>
<guid>/blog/2018/10/06/easy-documentation-with-docsy/</guid>
<description> |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 2 replies
-
It looks the same on the main site as well: https://www.docsy.dev/blog/index.xml |
Beta Was this translation helpful? Give feedback.
-
Am I missing something and those links are semantically correct? |
Beta Was this translation helpful? Give feedback.
-
I'm not using RSS anywhere, so I'm not sure about it, but looking at the xml of other Docsy-based sites (like https://github.com/istio/istio.io/blob/master/layouts/blog/rss.xml) I'd say it's broken everywhere. It seems that the istio site uses a custom layout file that explicitly adds the baseurl: https://github.com/istio/istio.io/blob/master/layouts/blog/rss.xml |
Beta Was this translation helpful? Give feedback.
-
What's funny is that on |
Beta Was this translation helpful? Give feedback.
-
Might be my baseUrl setting, having a look at the docs and trying a few things out. |
Beta Was this translation helpful? Give feedback.
-
That's been broken for over a year... or at least that's when it was brought to my attention. I played around with the |
Beta Was this translation helpful? Give feedback.
-
My baseURL was set to "/", changing it to the correct domain solved my problem. Something like Trailing slash is important. |
Beta Was this translation helpful? Give feedback.
My baseURL was set to "/", changing it to the correct domain solved my problem. Something like
baseURL="https://domain.com/"
Trailing slash is important.