Skip to content

Commit 6c5944a

Browse files
committedOct 23, 2016
Stupid copy'n'paste error.
1 parent cd0e59e commit 6c5944a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎nikola/nikola.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1306,7 +1306,7 @@ def render_template(self, template_name, output_name, context, url_type=None):
13061306
for k in self._GLOBAL_CONTEXT_TRANSLATABLE:
13071307
local_context[k] = local_context[k](local_context['lang'])
13081308
local_context['is_rtl'] = local_context['lang'] in LEGAL_VALUES['RTL_LANGUAGES']
1309-
local_context['url_type'] = self.site.config['URL_TYPE'] if url_type is None else url_type
1309+
local_context['url_type'] = self.config['URL_TYPE'] if url_type is None else url_type
13101310
# string, arguments
13111311
local_context["formatmsg"] = lambda s, *a: s % a
13121312
for h in local_context['template_hooks'].values():

0 commit comments

Comments
 (0)
Failed to load comments.