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).
This commit is contained in:
parent
52eb58f2a9
commit
1d039d2aae
1 changed files with 5 additions and 0 deletions
|
@ -3,8 +3,13 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
{% if debug %}
|
||||||
|
<link rel="stylesheet" href="{% static 'bulma/css/font-awesome.css' %}">
|
||||||
|
<link rel="stylesheet" href="{% static 'bulma/css/style.css' %}">
|
||||||
|
{% else %}
|
||||||
<link rel="stylesheet" href="{% static 'bulma/css/font-awesome.min.css' %}">
|
<link rel="stylesheet" href="{% static 'bulma/css/font-awesome.min.css' %}">
|
||||||
<link rel="stylesheet" href="{% static 'bulma/css/style.min.css' %}">
|
<link rel="stylesheet" href="{% static 'bulma/css/style.min.css' %}">
|
||||||
|
{% endif %}
|
||||||
<link rel="shortcut icon" href="{% static "khaganat/images/favicon.ico" %}">
|
<link rel="shortcut icon" href="{% static "khaganat/images/favicon.ico" %}">
|
||||||
<link rel="stylesheet" href="{% static "khaganat/css/khaganat.css" %}">
|
<link rel="stylesheet" href="{% static "khaganat/css/khaganat.css" %}">
|
||||||
<script defer src="{% static "navbar/navbar.js" %}"></script>
|
<script defer src="{% static "navbar/navbar.js" %}"></script>
|
||||||
|
|
Loading…
Reference in a new issue