{% load sekizai_tags i18n microsite pipeline optional_include %} {% load url from future %} {% block title %}{% platform_name %}{% endblock %} {% stylesheet 'style-vendor' %} {% stylesheet 'style-main-v1' %} {% block main_vendor_js %} {% javascript 'main_vendor' %} {% endblock %} {% block headextra %}{% endblock %} {% render_block "css" %} {% optional_include "head-extra.html"|microsite_template_path %}
{% trans "Skip to main content" %} {% with course=request.course %} {% include "header.html"|microsite_template_path %} {% endwith %}
{% block body %}{% endblock %} {% block bodyextra %}{% endblock %}
{% with course=request.course %} {% include "footer.html"|microsite_template_path %} {% endwith %}
{% javascript 'application' %} {% javascript 'module-js' %} {% render_block "js" %} {% comment %} This is a django template version of our main page from which all other pages inherit. This file should be rewritten to reflect any changes in main.html! Files used by {% include %} can be written as mako templates. Inheriting from this file allows us to include apps that use the django templating system without rewriting all of their views in mako. {% endcomment %}