{% comment %} If you add a local JS lib here, you must add a URL for the lib to the OFFLINE_JS_URLS array in mkproject.py. {% endcomment %} {% block site_header %} {% if offline_js %} {% else %} {% endif %} {% if offline_js %} {% else %} {% comment %} need to call yui-s separately since it seems to be less efficient with the network requests than the regular unsecured site - four combo requests versus upwards of 50 individual requests under https {% endcomment %} {% if request.is_secure %} {% else %} {% endif %} {% endif %} {% endblock %}