added link to RSS for /recent, fixed RSS generation error for /recent

This commit is contained in:
Julian Lam
2013-11-24 11:15:40 -05:00
parent a16f93cbd5
commit a72fc69997
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
<ol class="breadcrumb">
<li><a href="/">Home</a></li>
<li class="active">Recent</li>
<li class="active">Recent <a href="./recent.rss"><i class="icon-rss-sign"></i></a></li>
</ol>
<ul class="nav nav-pills">

View File

@@ -663,7 +663,7 @@ var path = require('path'),
};
if (!fs.existsSync(rssPath)) {
feed.updaterecent(function (err) {
feed.updateRecent(function (err) {
if (err) {
res.redirect('/404');
} else {