{# The Primary Template #} {# #} {# The structure is flattened to some degree by ignoring the HTML,HEAD, FOOT and BODY elements. The nesting #} {# Starts at META,RSS,CSS,PAGE and SECTION for the HEAD and HEADER,FOOTER,NAV,MAIN, and FOOTER for the BODY. #} {# Indentation is based upon a single indent per HTML tag. I suppose indents are acceptable but are avoided. #} {# #} {# There is an inherint hierarchy in the blocks, the order is SITE>PAGE>VIEW. If you need more granularity I #} {# would use PART over say SECTION or SUBSECTION. as it's 4 letters long, as an added level resulting in the #} {# following hierarchy SITE>PAGE>PART>VIEW #} {# #} {# Specify the following default context in your views.py #} {# context = {'site' : {'title' : 'SITE'},'page' : {'title' : 'PAGE'}} #} {{ '{% block dtd %}' }}{{ '{% endblock dtd %}' }} {{ '{% block html %}' }} {{ '{% block html_open %}' }}{{ '{% endblock html_open %}' }} {{ '{% block head %}' }}
{{ '{% block browser %}' }} {{ '{% block html5 %}' }}{{ '{% endblock html5 %}' }} {{ '{% endblock browser %}' }} {{ '{% block site %}' }} {{ '{% block site_icon %}' }}{{ '{% endblock site_icon %}' }} {{ '{% block site_prefix %}' }}{{ '{% endblock site_prefix %}' }} {{ '{% block site_title %}' }}