{% load static %} {% if theme.js_template %} {% include theme.js_template %} {% else %} {% for x in theme.js %} {% endfor %} {% endif %}