Skip to content
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

RSS Title regression #2645

Closed
rmetzler opened this issue Oct 28, 2016 · 1 comment
Closed

RSS Title regression #2645

rmetzler opened this issue Oct 28, 2016 · 1 comment
Assignees
Milestone

Comments

@rmetzler
Copy link
Contributor

rmetzler commented Oct 28, 2016

I think I found a bug introduce with 0.17 which changes titles for RSS/Atom files (index.xml).

With Hugo 0.16 it looks like this:

<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>News on Website</title>
    <link>http://www.example.com/news/</link>
    <description>Recent content in News on Website</description>

With Hugo 0.17 it looks like this (title and description):

<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>News-rsses on Website</title>
    <link>http://www.example.com/news/index.xml</link>
    <description>Recent content in News-rsses on Website</description>

I didn't found the string rsses in the source code, so I guess it has something to do with adding -rss to the section name and using the plural. Just a guess though...

@bep bep added the Bug label Oct 28, 2016
@bep bep self-assigned this Oct 28, 2016
@bep bep added this to the v0.18 milestone Oct 28, 2016
@bep bep closed this as completed in 6a3d103 Oct 28, 2016
tychoish pushed a commit to tychoish/hugo that referenced this issue Aug 13, 2017
And add tests to make sure it doesn't happen again.

Fixes gohugoio#2645
@github-actions
Copy link

github-actions bot commented Apr 1, 2022

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants