Skip to content
Permalink
Browse files
Stupid copy'n'paste error.
  • Loading branch information
felixfontein committed Oct 23, 2016
1 parent cd0e59e commit 6c5944a4f974351d19f41d33dde6fc9ab2cdf1ac
Showing with 1 addition and 1 deletion.
  1. +1 −1 nikola/nikola.py
@@ -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():

0 comments on commit 6c5944a

Please sign in to comment.