{% extends "oscar/base.html" %} {% load i18n static %} {% block styles %} {% comment %} If you are developing Oscar's CSS, or overriding Oscar's CSS files in your project, then set OSCAR_USE_LESS = True in your settings file. This will enable the on-the-fly less compiler. {% endcomment %} {% if use_less %} {% else %} {% endif %} {% endblock %} {% block layout %} {# Main content of page - other layout templates may override this block #} {% block content_wrapper %}
{% block header %} {% include 'oscar/catalogue/partials/main_categories.html' %} {% endblock %} {% block subheader %}{% endblock subheader %}
{# Div exists for AJAX updates to entire content section #}
{% block content %}{% endblock %}
{% endblock %} {% endblock %} {% block cdn_scripts %} {{ block.super }} {% if use_less and debug %} {# Load the on-the-fly less compiler. Never do this in production. #} {% endif %} {% endblock %} {# Local scripts #} {% block scripts %} {{ block.super }} {% endblock %} {% block extrascripts %} {% include "oscar/partials/extrascripts.html" %} {{ block.super }} {% endblock %} {% block onbodyload %} {{ block.super }} oscar.init(); {% endblock %}