Only load slick on home_page
This commit is contained in:
parent
254cd68b35
commit
5b729dd018
2 changed files with 6 additions and 5 deletions
|
@ -3,6 +3,11 @@
|
||||||
|
|
||||||
{% block body_class %}template-{{ self.get_verbose_name|slugify }}{% endblock %}
|
{% block body_class %}template-{{ self.get_verbose_name|slugify }}{% endblock %}
|
||||||
|
|
||||||
|
{% block extra_css %}
|
||||||
|
<link rel="stylesheet" type="text/x-scss" href="{% static 'libs/slick-carousel/slick/slick.scss' %}">
|
||||||
|
<link rel="stylesheet" type="text/x-scss" href="{% static 'libs/slick-carousel/slick/slick-theme.scss' %}">
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
<!-- Banner (articles) -->
|
<!-- Banner (articles) -->
|
||||||
|
|
|
@ -9,14 +9,10 @@
|
||||||
<meta name="description" content="{% block description %}{% endblock %}">
|
<meta name="description" content="{% block description %}{% endblock %}">
|
||||||
|
|
||||||
{% compress css %}
|
{% compress css %}
|
||||||
<link rel="stylesheet" type="text/x-scss" href="{% static 'libs/slick-carousel/slick/slick.scss' %}">
|
|
||||||
<link rel="stylesheet" type="text/x-scss" href="{% static 'libs/slick-carousel/slick/slick-theme.scss' %}">
|
|
||||||
<link rel="stylesheet" type="text/x-scss" href="{% static 'css/main.scss' %}">
|
<link rel="stylesheet" type="text/x-scss" href="{% static 'css/main.scss' %}">
|
||||||
{% endcompress %}
|
{% endcompress %}
|
||||||
|
|
||||||
{% block extra_css %}
|
{% block extra_css %}{% endblock %}
|
||||||
|
|
||||||
{% endblock %}
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="{% block body_class %}{% endblock %}">
|
<body class="{% block body_class %}{% endblock %}">
|
||||||
|
|
Loading…
Reference in a new issue