Skip to content

Commit

Permalink
First shot at creating abstract base class BasePost.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed Feb 16, 2017
1 parent 41bf2ae commit 13424f6
Show file tree
Hide file tree
Showing 2 changed files with 281 additions and 186 deletions.
2 changes: 1 addition & 1 deletion nikola/nikola.py
Expand Up @@ -1703,7 +1703,7 @@ def generic_rss_renderer(self, lang, title, link, description, timeline, output_
# PyRSS2Gen's pubDate is GMT time.
'pubDate': (post.date if post.date.tzinfo is None else
post.date.astimezone(dateutil.tz.tzutc())),
'categories': post._tags.get(lang, []),
'categories': post.tags_for_language(lang),
'creator': post.author(lang),
'guid': post.permalink(lang, absolute=True),
}
Expand Down

0 comments on commit 13424f6

Please sign in to comment.