{% load media %}
{# paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ #}
{% block head %}
{# Always force latest IE rendering engine (even in intranet) & Chrome Frame #}
{# Remove this if you use the .htaccess #}
{% block title %}Name your pages!{% endblock %}
{% block metadata %}
{% endblock %}
{# Mobile viewport optimized: j.mp/bplateviewport #}
{% block mobile_viewport_optimization %}
{% endblock %}
{% block favicons %}
{# Place favicon.ico and apple-touch-icon.png in the media/images directory: #}
{# mathiasbynens.be/notes/touch-icons #}
{# For iPhone 4 with high-resolution Retina display: #}
{# For first-generation iPad: #}
{# For non-Retina iPhone, iPod Touch, and Android 2.1+ devices: #}
{% endblock %}
{% block css %}
{# CSS: implied media="all" #}
{% include_media 'style.css' %}
{% endblock %}
{% block extra_css %}{% endblock %}
{# More ideas for your here: h5bp.com/docs/#head-Tips #}
{% block head_js %}
{% comment %}
All JavaScript at the bottom, except for Modernizr and Respond.
Modernizr enables HTML5 elements & feature detects; Respond is a polyfill for min/max-width CSS3 Media Queries
For optimal performance, use a custom Modernizr build:
www.modernizr.com/download/
{% endcomment %}
{# modernizr and respond are also only loaded in the head for IE, else they are included in main.js at the end #}
{% endblock %}
{% block extra_head %}{% endblock %}
{% endblock %}
{% block body %}
{% block container %}
{# end of #container #}
{% endblock %}
{% block js %}
{# JavaScript at the bottom for fast page loading #}
{# Javascript files are all concatenacted and compressed #}
{# to update for production use python manage generatemedia #}
{% include_media 'main.js' %}
{% endblock %}
{% block extra_js %}{% endblock %}
{% block google_analytics %}
{% if not request.user.is_superuser %}
{# mathiasbynens.be/notes/async-analytics-snippet Change UA-XXXXX-X to be your site's ID #}
{% endif %}
{% endblock %}
{% endblock %}