diff options
Diffstat (limited to 'askbot/templates/meta/html_head_stylesheets.html')
-rw-r--r-- | askbot/templates/meta/html_head_stylesheets.html | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/askbot/templates/meta/html_head_stylesheets.html b/askbot/templates/meta/html_head_stylesheets.html new file mode 100644 index 00000000..85bb489c --- /dev/null +++ b/askbot/templates/meta/html_head_stylesheets.html @@ -0,0 +1,26 @@ +{%if settings.GROUPS_ENABLED%} +<link href="{{'/bootstrap/css/bootstrap.css'|media}}" rel="stylesheet" type="text/css" /> +{% endif %} +{% if settings.ASKBOT_CSS_DEVEL == False %} + +<link href="{{"/style/style.css"|media }}" rel="stylesheet" type="text/css" /> +{% else %} +<link href="{{"/style/style.less"|media }}" rel="stylesheet/less" type="text/css" /> +<script type="text/javascript" src="{{"/js/less.min.js"|media}}"></script> +{% endif %} +<link href="{{'/bootstrap/css/bootstrap.css'|media}}" rel="stylesheet" type="text/css" /> +{% if settings.USE_LOCAL_FONTS %} + {% include "meta/fonts.html" %} +{% else %} + {# note: IE8 fix - a combined font link wont work so we have two #} + <link href='http://fonts.googleapis.com/css?family=Open+Sans+Condensed:700&subset=latin-ext' rel='stylesheet' type='text/css'> + <link href='http://fonts.googleapis.com/css?family=Open+Sans+Condensed:700&subset=cyrillic-ext' rel='stylesheet' type='text/css'> +{% endif %} +{{ skin.get_extra_css_link() }} +{% if settings.USE_CUSTOM_CSS %} + <link + href="{% url "custom_css" %}?v={{settings.MEDIA_RESOURCE_REVISION}}" + rel="stylesheet" + type="text/css" + /> +{% endif %} |