Skip to content

Commit

Permalink
[#2599] Remove less JavaScript compiler
Browse files Browse the repository at this point in the history
This does not work in IE and is generally too slow.
  • Loading branch information
aron committed Jun 26, 2012
1 parent 5e9cae7 commit e71d474
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions ckan/templates/base.html
Expand Up @@ -2,7 +2,7 @@
{%- block doctype %}<!DOCTYPE html>{% endblock -%}

{# Allows custom attributes to be added to the <html> tag #}
{% block htmltag -%}
{%- block htmltag -%}
{% set lang = 'en-gb' %}
<!--[if IE 7]> <html lang="{{ lang }}" class="ie ie7"> <![endif]-->
<!--[if IE 8]> <html lang="{{ lang }}" class="ie ie8"> <![endif]-->
Expand All @@ -27,7 +27,7 @@
{% endblock %}

#}
{%- block meta %}
{%- block meta -%}
<meta charset="utf-8" />
{%- endblock -%}

Expand All @@ -46,7 +46,7 @@
The html5shim allows you to modify/override the html5 shim. This is useful
for modifying it's behaviour or removing it completely.
#}
{% block html5shim -%}
{%- block html5shim -%}
{# Temporary link until we get resource helper working #}
<!--[if lte IE 8]><script src="/base/javascript/vendor/html5.js"></script><![endif]-->
{%- endblock -%}
Expand All @@ -72,13 +72,8 @@
{% endblock %}
#}
{%- block styles -%}
{% if config.debug %}
<link rel="stylesheet/less" href="/base/less/main.less" />
<script src="/base/test/vendor/less.js"></script>
{% else %}
<link rel="stylesheet" href="/base/css/ckan.css" />
{% endif %}
{% endblock -%}
<link rel="stylesheet" href="/base/css/{{ 'main.debug.css' if config.debug else 'main.css' }}" />
{% endblock %}
</head>

{# Allows custom attributes to be added to the <body> tag #}
Expand Down

0 comments on commit e71d474

Please sign in to comment.