{% block extra_head %}{% endblock %} {% set css_dependencies = [] %} {% set js_dependencies = [] %} {% if dependencies %} {% for dep in dependencies %} {% if dep.endswith('.css') %} {% set _ = css_dependencies.append(dep) %} {% elif dep.endswith('.js') %} {% set _ = js_dependencies.append(dep) %} {% endif %} {% endfor %} {% endif %} {% for css_file in css_dependencies %} {% if css_file.startswith('http://') or css_file.startswith('https://') or css_file.startswith('//') %} {% else %} {% endif %} {% endfor %} {% block styles %}{% endblock %}
{% include '_nav.html' %}