Skip to content

Instantly share code, notes, and snippets.

@hxu
Created May 25, 2014 09:26
Show Gist options
  • Save hxu/43aa9c99acea0e37ad75 to your computer and use it in GitHub Desktop.
Save hxu/43aa9c99acea0e37ad75 to your computer and use it in GitHub Desktop.
Starter base template
{% load staticfiles %}
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{% block title %}Title{% endblock title %}</title>
<!-- STYLES GO HERE -->
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
{% block additional_headers %}
{% endblock additional_headers %}
</head>
<body>
{% block content %}
<h1>Content</h1>
{% endblock content %}
</body>
<!-- SCRIPTS GO HERE -->
{% block additional_footers %}
{% endblock additional_footers %}
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment