Skip to content
Permalink
Browse files
First shot at creating abstract base class BasePost.
  • Loading branch information
felixfontein committed Feb 16, 2017
1 parent 41bf2ae commit 13424f6a61af4f5ef02ca6034c4bdabc76e0506d
Showing with 281 additions and 186 deletions.
  1. +1 −1 nikola/nikola.py
  2. +280 −185 nikola/post.py
@@ -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),
}

0 comments on commit 13424f6

Please sign in to comment.