From 1d039d2aae5cf294869eed6d06a5ee123cd4c44f Mon Sep 17 00:00:00 2001 From: Rodolphe Breard Date: Mon, 12 Nov 2018 14:36:18 +0100 Subject: [PATCH] In debug mode, use the normal CSS file instead of the minified one When working with Sass, the watch mode does not build the minified CSS file. Hence, it is useful to use the normal one in development (debug mode activated) and keep the minified one for production only (debug mode deactivated). --- khaganat/templates/khaganat/base.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/khaganat/templates/khaganat/base.html b/khaganat/templates/khaganat/base.html index 7027d5a..1c3eef2 100644 --- a/khaganat/templates/khaganat/base.html +++ b/khaganat/templates/khaganat/base.html @@ -3,8 +3,13 @@ + {% if debug %} + + + {% else %} + {% endif %}