diff options
author | Jayaram R Pai | 2014-10-04 17:30:23 +0530 |
---|---|---|
committer | Jayaram R Pai | 2014-10-04 17:30:23 +0530 |
commit | f7c72433cd6e96c52f1dd2cc87cf9e669b60cec6 (patch) | |
tree | 95fef3d9c817c70407483d53d351183b643b5e1d /static/website/templates/base.html | |
parent | a242e5baeeef4edee62f8e2a3c2aa6fed1046590 (diff) | |
download | scipy2014-f7c72433cd6e96c52f1dd2cc87cf9e669b60cec6.tar.gz scipy2014-f7c72433cd6e96c52f1dd2cc87cf9e669b60cec6.tar.bz2 scipy2014-f7c72433cd6e96c52f1dd2cc87cf9e669b60cec6.zip |
started compressing css/js/html
Diffstat (limited to 'static/website/templates/base.html')
-rwxr-xr-x | static/website/templates/base.html | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/static/website/templates/base.html b/static/website/templates/base.html index 9d02164..64febfd 100755 --- a/static/website/templates/base.html +++ b/static/website/templates/base.html @@ -1,4 +1,5 @@ {% load static %} +{% load compress %} {% load dajaxice_templatetags %} {% load tags %} <!DOCTYPE html> @@ -8,7 +9,15 @@ <title>SciPy India 2014</title> <link rel="shortcut icon" type="image/png" href="{% static 'website/images/favicon.ico'%}"/> <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"> + {% compress css %} <link rel="stylesheet" href="{% static 'website/css/main.css'%}"> + <!-- style rules that require relative image paths --> + <style> + body { background-image: url("{% static 'website/images/ecailles.png' %}"); } + #header{ background: url("{% static 'website/images/jumbo_bg.jpg' %}"); } + #page-header { background: url("{% static 'website/images/jumbo_bg.jpg' %}"); } + </style> + {% endcompress %} {% dajaxice_js_import %} </head> <body> @@ -95,8 +104,9 @@ <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script> <script src="{% static 'dajax/jquery.dajax.core.js' %}"></script> -<script src="{% static 'website/js/holder.js' %}"></script> +{% compress js %} <script src="{% static 'website/js/main.js' %}"></script> +{% endcompress %} <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), |