diff --git a/sigal/themes/colorbox/templates/base.html b/sigal/themes/colorbox/templates/base.html
index aad8df4..37f6283 100644
--- a/sigal/themes/colorbox/templates/base.html
+++ b/sigal/themes/colorbox/templates/base.html
@@ -11,7 +11,7 @@
- {% if settings.user_css %}
+ {% if user_css %}
{% endif %}
{% block extra_head %}{% endblock extra_head %}
diff --git a/sigal/themes/galleria/templates/base.html b/sigal/themes/galleria/templates/base.html
index 44d25ae..6a94e6b 100644
--- a/sigal/themes/galleria/templates/base.html
+++ b/sigal/themes/galleria/templates/base.html
@@ -12,8 +12,8 @@
- {% if settings.user_css %}
-
+ {% if user_css %}
+
{% endif %}
{% block extra_head %}{% endblock extra_head %}
{% include 'analytics.html' %}
diff --git a/sigal/themes/photoswipe/templates/base.html b/sigal/themes/photoswipe/templates/base.html
index d26860b..fe477c2 100644
--- a/sigal/themes/photoswipe/templates/base.html
+++ b/sigal/themes/photoswipe/templates/base.html
@@ -10,7 +10,7 @@
{% block extra_head %}{% endblock extra_head %}
- {% if settings.user_css %}
+ {% if user_css %}
{% endif %}
{% include 'analytics.html' %}