-
Notifications
You must be signed in to change notification settings - Fork 898
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Hugo branding in RSS XML feed #53
Comments
Also, related to this, there are a bunch of issues related to the validity of the RSS feed: https://validator.w3.org/feed/check.cgi?url=https%3A%2F%2Ftestydocsy.netlify.com%2Fblog%2Findex.xml In particular, the XML should generally be using full URLs as opposed to relative paths. I expect this is going to require some way of configuring Docsy with the root domain for the site. |
Configuring the root URL is easy, you just set rootUrl in your config.toml or in your netlify.toml if you just want it for your Netlify deployment versus your local copy. I'll mention in the docs you should do that if you want a valid RSS feed. Will take a look at the actual feed template now... |
Ah thanks, I don't think I had got round to configuring the root URL yet, which explains why I saw this behavior. I have since configured the root URL for robots.txt and it's working as expected. So it is just the template. |
The term 'Hugo' appears in the generated RSS when it shouldn't:
I believe this is caused by the contents of the RSS XML template.
Specifically this section:
Ideally, the template needs to be updated to populate the ,
<title>, <image from variables so that the tenant Docsy sites don't need to overrider this template locally.
The text was updated successfully, but these errors were encountered: