summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/cmsplugin_blurp/renderers/template.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/cmsplugin_blurp/renderers/template.py b/src/cmsplugin_blurp/renderers/template.py
index 57e76a2..4d6b671 100644
--- a/src/cmsplugin_blurp/renderers/template.py
+++ b/src/cmsplugin_blurp/renderers/template.py
@@ -39,9 +39,4 @@ class TemplateRenderer(BaseRenderer):
elif 'template' in self.config:
template = Template(self.config['template'])
- if settings.TEMPLATE_DEBUG:
- if not hasattr(template, 'render'):
- template = get_template(template)
- debug_template = Template('<!-- DEBUG:\n{{ blurp_debug__ }}\n-->')
- template.nodelist.extend(debug_template.nodelist)
return template