From 258b2ae4b54c4f93ee7a7884f9ec9e85470e55bd Mon Sep 17 00:00:00 2001 From: Aurélien Bompard Date: Sat, 23 Feb 2013 12:20:36 +0100 Subject: Use django-assets to compress static files --- hyperkitty/templates/base.html | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'hyperkitty/templates/base.html') diff --git a/hyperkitty/templates/base.html b/hyperkitty/templates/base.html index 8af354c..50f1ffe 100644 --- a/hyperkitty/templates/base.html +++ b/hyperkitty/templates/base.html @@ -1,3 +1,4 @@ +{% load assets %} @@ -7,9 +8,9 @@ - - - + {% assets filters="cssmin", output="gen/hyperkitty.css", "libs/jquery/ui-lightness/jquery-ui-1.10.0.custom.min.css", "libs/bootstrap/bootstrap.min.css", "css/hyperkitty.css" %} + + {% endassets %} {% block additional_stylesheets %} {% endblock %} {% load i18n %} @@ -70,9 +71,9 @@ - - - + {% assets filters="jsmin", output="gen/hyperkitty.js", "libs/jquery/jquery-ui-1.10.0.custom.min.js", "libs/bootstrap/bootstrap.min.js", "libs/jquery.expander.js", "libs/protovis-d3.1.js", "js/hyperkitty.js" %} + + {% endassets %} {% block additionaljs %} {% endblock %} -- cgit