Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Clean up copy-paste mixups
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Apr 15, 2018
1 parent 4637b40 commit d209432
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nikola/nikola.py
Expand Up @@ -2147,7 +2147,7 @@ def generic_renderer(self, lang, output_name, template_name, filters, file_deps=
deps_dict['OUTPUT_FOLDER'] = self.config['OUTPUT_FOLDER']
deps_dict['TRANSLATIONS'] = self.config['TRANSLATIONS']
deps_dict['global'] = self.GLOBAL_CONTEXT
deps_dict["all_page_dependencies"] = self.ALL_PAGE_DEPENDENCIES
deps_dict['all_page_dependencies'] = self.ALL_PAGE_DEPENDENCIES
if post_deps_dict:
deps_dict.update(post_deps_dict)

Expand Down Expand Up @@ -2288,7 +2288,7 @@ def atom_link(link_rel, link_type, link_href):
for k in self._GLOBAL_CONTEXT_TRANSLATABLE:
deps_context[k] = deps_context['global'][k](lang)
for k in self._ALL_PAGE_DEPENDENCIES_TRANSLATABLE:
deps_dict[k] = deps_dict['all_page_dependencies'][k](lang)
deps_context[k] = deps_context['all_page_dependencies'][k](lang)

deps_context['navigation_links'] = deps_context['global']['navigation_links'](lang)

Expand Down

0 comments on commit d209432

Please sign in to comment.