summaryrefslogtreecommitdiffstats
path: root/askbot/templates/meta/html_head_stylesheets.html
blob: a1bd0015016f05e804fcdfb5ee0af5054d1e7d0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{% if settings.ASKBOT_CSS_DEVEL %}
    <link href="{{"/style/style.less"|media }}" rel="stylesheet/less" type="text/css" />
    {{ skin.get_extra_css_link() }}
    <script type="text/javascript" src="{{"/js/less.min.js"|media}}"></script>
    <link href="{{'/bootstrap/css/bootstrap.css'|media}}" rel="stylesheet" type="text/css" />
{% else %}
    {% compress css %}
        <link href="{{"/style/style.css"|media }}" rel="stylesheet" type="text/css" />
        {{ skin.get_extra_css_link() }}
        <link href="{{'/bootstrap/css/bootstrap.css'|media}}" rel="stylesheet" type="text/css" />
    {% endcompress %}
{% endif %}
{% if settings.USE_CUSTOM_CSS %}
    {# can't compress yet because this comes from live settings #}
    <link
        href="{% url "custom_css" %}?v={{settings.MEDIA_RESOURCE_REVISION}}"
        rel="stylesheet"
        type="text/css"
    />
{% endif %}