Skip to content

Instantly share code, notes, and snippets.

@alexcabrera
Created March 5, 2010 19:51
Show Gist options
  • Save alexcabrera/323068 to your computer and use it in GitHub Desktop.
Save alexcabrera/323068 to your computer and use it in GitHub Desktop.
A set of basic django templates to be used with the Graphpaper plugin for Compass CSS
<!DOCTYPE html>
<html>
<head>
{% block html_head %}
{% endblock html_head %}
</head>
<body id="{% block body_id %}{% endblock %}" class="{% block body_class %}{% endblock %}">
<div id="site_container">
<div id="site_header">
{% block site_header %}
<h1 id="site_branding">
{% block site_branding %}
{% endblock site_branding %}
</h1><!-- #site_branding -->
<ul id="site_navigation">
{% block site_navigation %}
{% endblock site_navigation %}
</ul><!-- #site_navigation -->
{% endblock %}
</div><!-- #site_header -->
<div id="page_container">
{% block page_container %}
<div id="page_header">
{% block page_header %}{% endblock %}
</div>
<div id="page_content">
{% block page_content %}{% endblock %}
</div>
<div id="page_footer">
{% block page_footer %}{% endblock %}
</div>
{% endblock %}
</div><!-- #page_container -->
<div id="site_footer">
{% block site_footer %}
{% endblock %}
</div>
</div><!-- #site_container -->
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment