Skip to content

Instantly share code, notes, and snippets.

@erickgnavar
Created July 1, 2012 23:26
Show Gist options
  • Save erickgnavar/3030002 to your computer and use it in GitHub Desktop.
Save erickgnavar/3030002 to your computer and use it in GitHub Desktop.
Django base template
<!doctype html>
<html lang="en-US">
<head>
<meta charset="utf-8">
<title>{% block title %}{% endblock %}</title>
{% block extrastyle %}{% endblock %}
</head>
<body>
<header id="page-header">
{% block header %}{% endblock %}
</header>
<section id="page-content">
{% block content %}{% endblock %}
</section>
<footer id="page-footer">
</footer>
{% block bottomscript %}{% endblock %}
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment