Permalink
Browse files

Merge pull request #329 from davidsivocha/patch-1

Now feed uses author.json's name if found
  • Loading branch information...
jnordberg committed Sep 13, 2017
2 parents 64278a8 + 38d45b1 commit 9ace7812c0f4546580ab399bd5afa9abd0ef4a57
Showing with 5 additions and 1 deletion.
  1. +5 −1 examples/blog/templates/feed.jade
@@ -20,6 +20,10 @@ rss(version='2.0',
link= permalink
pubDate= article.rfc822date
guid(isPermaLink='true')= permalink
author= article.author
- var author = contents.authors[article.metadata.author + '.json'];
if author
author= author.metadata.name
else
author= article.author
//- passing locals.url resolves all relative urls to absolute
description= article.getHtml(locals.url)

0 comments on commit 9ace781

Please sign in to comment.