Skip to content
Permalink
Browse files

Also adding them somewhere else, and unifying quotes a bit more.

  • Loading branch information
felixfontein committed Nov 27, 2016
1 parent 0bc8ccc commit 57dd9adec498dc23099eeda3610035511e8bbda9
Showing with 10 additions and 6 deletions.
  1. +10 −6 nikola/plugins/task/taxonomies.py
@@ -77,9 +77,13 @@ def _generate_classification_overview(self, taxonomy, lang):

context = copy(context)
kw = copy(kw)
kw['filters'] = self.site.config['FILTERS']
kw["messages"] = self.site.MESSAGES
kw["filters"] = self.site.config['FILTERS']
kw["minimum_post_count"] = taxonomy.minimum_post_count_per_classification_in_overview
kw["output_folder"] = self.site.config['OUTPUT_FOLDER']
kw["pretty_urls"] = self.site.config['PRETTY_URLS']
kw["strip_indexes"] = self.site.config['STRIP_INDEXES']
kw["index_file"] = self.site.config['INDEX_FILE']

# Collect all relevant classifications
if taxonomy.has_hierarchy:
@@ -256,11 +260,11 @@ def _generate_classification_page(self, taxonomy, classification, post_list, lan
# Get data
context, kw = taxonomy.provide_context_and_uptodate(classification, lang)
kw = copy(kw)
kw['messages'] = self.site.MESSAGES
kw['filters'] = self.site.config['FILTERS']
kw['site_url'] = self.site.config['SITE_URL']
kw['blog_title'] = self.site.config['BLOG_TITLE']
kw['generate_rss'] = self.site.config['GENERATE_RSS']
kw["messages"] = self.site.MESSAGES
kw["filters"] = self.site.config['FILTERS']
kw["site_url"] = self.site.config['SITE_URL']
kw["blog_title"] = self.site.config['BLOG_TITLE']
kw["generate_rss"] = self.site.config['GENERATE_RSS']
kw["feed_teasers"] = self.site.config["FEED_TEASERS"]
kw["feed_plain"] = self.site.config["FEED_PLAIN"]
kw["feed_links_append_query"] = self.site.config["FEED_LINKS_APPEND_QUERY"]

0 comments on commit 57dd9ad

Please sign in to comment.
You can’t perform that action at this time.