0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

RSS without User

closes #817
- no user, no rss author
This commit is contained in:
Sebastian Gierlinger 2013-09-18 10:17:56 +02:00
parent 65e00f8418
commit 1cac1acded

View file

@ -86,7 +86,7 @@ frontendControllers = {
title: ghost.settings('title'),
description: ghost.settings('description'),
generator: 'Ghost v' + res.locals.version,
author: user.attributes.name,
author: user ? user.attributes.name : null,
feed_url: siteUrl + '/rss/',
site_url: siteUrl,
ttl: '60'