{% load compress %} {% comment %} paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ {% endcomment %} {% compress css %} {% comment %} Core CSS includes (for inclusion on all pages) {% endcomment %} {% endcompress %} {% compress css %} {% comment %} Per-page CSS is compressed separately so that the global stuff doesn't get re-downloaded each time {% endcomment %} {% block extra_css %}{% endblock %} {% endcompress %} {% block content %}{% endblock %} {% comment %} JavaScript at the bottom for fast page loading: http://developer.yahoo.com/performance/rules.html#js_bottom {% endcomment %} {% compress js %} {% comment %} Core JS includes (for inclusion on all pages) to be specified here {% endcomment %} {% endcompress %} {% compress js %} {% comment %} Per-page JS is compressed separately so that the global stuff doesn't get re-downloaded each time {% endcomment %} {% block extra_js %}{% endblock %} {% endcompress %}