{% extends 'bootstrap3/bootstrap3.html' %}
{% comment %}
'base.html' for skaschool
based on 'django-bootstrap3'
Weitian LI
2014/04/19
{% endcomment %}
{% load bootstrap3 %}
{% load url from future %}
{% load staticfiles %}
{# title #}
{% block bootstrap3_title %}
{% block title %}
{% block pagetitle %}(pagetitle){% endblock %} |
{% block sitetitle %}{% include 'sitetitle.txt' %}{% endblock %}
{% endblock %}
{% endblock %}
{# bootstrap3_extra_head #}
{% block bootstrap3_extra_head %}
{# custom css #}
{% block custom_css %}
{# css_extra #}
{% block css_extra %}{% endblock %}
{% endblock %} {# custom_css #}
{# add favicon #}
{% block favicon %}
{% include 'favicon.html' %}
{% endblock %}
{# add meta information #}
{% block metainfo %}
{% include 'metainfo.html' %}
{% endblock %}
{% endblock %}
{# body #}
{% block bootstrap3_content %}
{# add block page #}
{% block page %}
{# message #}
{% block message %}
{# show 'django.contrib.messages' in Bootstrap alert containers #}
{% bootstrap_messages %}
{% endblock %} {# message #}
{# header #}
{% block header %}
{# navigation bar #}
{% block navbar %}
{% include 'navbar.html' %}
{% endblock %} {# navbar #}
{# header_extra #}
{% block header_extra %}{% endblock %}
{% endblock %} {# header #}
{# main #}
{% block main %}
{# sidebar #}
{% block sidebar %}{% endblock %}
{# content #}
{% block content %}{% endblock %}
{% endblock %} {# main #}
{# footer #}
{% block footer %}{% endblock %}
{% endblock page %} {# page #}
{% endblock %} {# bootstrap3_content #}
{# bootstrap3_extra_scripts #}
{% block bootstrap3_extra_script %}
{# extra javascript files #}
{% block js_extra %}{% endblock %}
{# custom script (e.g. built-in js code) #}
{% block custom_script %}{% endblock %}
{% endblock %} {# bootstrap3_extra_script #}
{# vim: set ts=8 sw=2 tw=0 fenc=utf-8 ft=htmldjango.html: #}