-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
bad relative links in blog feed #1817
Comments
I have spent a bit of time looking in to fixing this, and it's not clear where the fix needs to be:
But I have confirmed it's not a reader-specific bug, because I've reproduced the behavior on multiple readers. |
@boneskull Sorry it took a while to look into this.
See: https://github.com/hurrymaplelad/metalsmith-feed/blob/master/metalsmith_feed.js#L27 |
@fhemberger Is this worth bothering with? Wondering if we are hitching our wagon to Metalsmith for the foreseeable future, or whether a next-generation nodejs.org site would use different tech... |
I don't know. Might still be worth reporting, also for the sake of others. But I'll leave that up to you. |
@boneskull:Now it doesn't seem we should translate blogs into other langs. So the default url will be directed to |
@boneskull I'm closing this issue for now. Feel free to open one for |
The blog feed (https://nodejs.org/en/feed/blog.xml) has a base "channel link" of
https://nodejs.org/en/
. Bare anchor links fail to work, e.g.,#notable-changes
, because they resolve relative to the channel link. For example:https://nodejs.org/en/#notable-changes
.I think the channel link needs to point to
https://nodejs.org/<lang>/blog/
.The text was updated successfully, but these errors were encountered: