mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-04 12:44:57 +03:00
Merge pull request #3722 from hswolff/rss-atom-url
Fix rss content's url to the RSS feed
This commit is contained in:
commit
c12b92582c
@ -450,14 +450,14 @@ frontendControllers = {
|
||||
if (isTag()) {
|
||||
if (page.meta.filters.tags) {
|
||||
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 (page.meta.filters.author) {
|
||||
title = page.meta.filters.author.name + ' - ' + title;
|
||||
feedUrl = feedUrl + 'author/' + page.meta.filters.author.slug + '/';
|
||||
feedUrl = siteUrl + 'author/' + page.meta.filters.author.slug + '/rss/';
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user