Skip to content

Commit

Permalink
Stupid copy'n'paste error.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed Oct 23, 2016
1 parent cd0e59e commit 6c5944a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nikola/nikola.py
Expand Up @@ -1306,7 +1306,7 @@ def render_template(self, template_name, output_name, context, url_type=None):
for k in self._GLOBAL_CONTEXT_TRANSLATABLE:
local_context[k] = local_context[k](local_context['lang'])
local_context['is_rtl'] = local_context['lang'] in LEGAL_VALUES['RTL_LANGUAGES']
local_context['url_type'] = self.site.config['URL_TYPE'] if url_type is None else url_type
local_context['url_type'] = self.config['URL_TYPE'] if url_type is None else url_type
# string, arguments
local_context["formatmsg"] = lambda s, *a: s % a
for h in local_context['template_hooks'].values():
Expand Down

0 comments on commit 6c5944a

Please sign in to comment.