diff --git a/schickmacher/templates/base.html b/schickmacher/templates/base.html index 3aadc11..2d01ba9 100644 --- a/schickmacher/templates/base.html +++ b/schickmacher/templates/base.html @@ -24,6 +24,8 @@ + {% load cache %} + {% cache css %} {% compress css %} @@ -31,6 +33,7 @@ {% endcompress %} + {% endcache %} {% endblock %} diff --git a/schickmacher/templates/renderer/rendered.html b/schickmacher/templates/renderer/rendered.html index 2ca154b..7772f0b 100644 --- a/schickmacher/templates/renderer/rendered.html +++ b/schickmacher/templates/renderer/rendered.html @@ -3,10 +3,13 @@ {{ title }} + {% load cache %} + {% cache css %} {% compress css %} {% endcompress %} + {% endcache %}