diff --git a/schickmacher/templates/base.html b/schickmacher/templates/base.html index 2d01ba9..d5e79e1 100644 --- a/schickmacher/templates/base.html +++ b/schickmacher/templates/base.html @@ -1,4 +1,4 @@ -{% load static i18n compress%} +{% load static i18n compress cache%} @@ -24,16 +24,16 @@ - {% load cache %} - {% cache css %} + {% compress css %} + {% cache None css %} + {% endcache %} {% endcompress %} - {% endcache %} {% endblock %} diff --git a/schickmacher/templates/renderer/rendered.html b/schickmacher/templates/renderer/rendered.html index 7772f0b..6dca75e 100644 --- a/schickmacher/templates/renderer/rendered.html +++ b/schickmacher/templates/renderer/rendered.html @@ -1,15 +1,16 @@ -{% load static compress tz %} +{% load static compress tz cache%} {{ title }} - {% load cache %} - {% cache css %} + {% compress css %} + {% cache None css %} - {% endcompress %} {% endcache %} + {% endcompress %} +