Merge pull request #3722 from hswolff/rss-atom-url

Fix rss content's url to the RSS feed
This commit is contained in:
Hannah Wolfe 2014-08-10 16:01:54 +01:00
commit c12b92582c

View File

@ -450,14 +450,14 @@ frontendControllers = {
if (isTag()) { if (isTag()) {
if (page.meta.filters.tags) { if (page.meta.filters.tags) {
title = page.meta.filters.tags[0].name + ' - ' + title; title = page.meta.filters.tags[0].name + ' - ' + title;
feedUrl = feedUrl + 'tag/' + page.meta.filters.tags[0].slug + '/'; feedUrl = siteUrl + 'tag/' + page.meta.filters.tags[0].slug + '/rss/';
} }
} }
if (isAuthor()) { if (isAuthor()) {
if (page.meta.filters.author) { if (page.meta.filters.author) {
title = page.meta.filters.author.name + ' - ' + title; title = page.meta.filters.author.name + ' - ' + title;
feedUrl = feedUrl + 'author/' + page.meta.filters.author.slug + '/'; feedUrl = siteUrl + 'author/' + page.meta.filters.author.slug + '/rss/';
} }
} }