From 1520d7fc9a4cecf935b953e943c144a2f1b6b6e2 Mon Sep 17 00:00:00 2001 From: James Moore Date: Thu, 22 Sep 2016 15:58:47 -0700 Subject: [PATCH] didn't register the tags properly --- hc/front/templatetags/hc_extras.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hc/front/templatetags/hc_extras.py b/hc/front/templatetags/hc_extras.py index 19c9a652..5558f881 100644 --- a/hc/front/templatetags/hc_extras.py +++ b/hc/front/templatetags/hc_extras.py @@ -41,9 +41,11 @@ def settings_value(name): return getattr(settings, name, "") +@register.simple_tag def site_name(name): return settings.SITE_NAME +@register.simple_tag def site_root(name): return settings.SITE_ROOT