Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Initial template
  • Loading branch information
tswicegood committed Nov 16, 2012
0 parents commit 3600184
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 0 deletions.
Empty file added abstract_templates/__init__.py
Empty file.
Empty file added abstract_templates/models.py
Empty file.
58 changes: 58 additions & 0 deletions abstract_templates/templates/abstract_base.html
@@ -0,0 +1,58 @@
{% load staticfiles %}
{% block doctype_container %}<!DOCTYPE {% block doctype %}html{% endblock %}>{% endblock %}
{% block html %}
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
{% endblock %}

{% block head_container %}
<head>
{% block title_container %}
<title>{% block title %}{% endblock %}</title>
{% endblock %}

{% block debug_mode_head %}
{% if debug %}
{% include "layouts/components/debug_mode_head.html" %}
{% endif %}
{% endblock %}

{% block favicon_container %}
{% if debug %}
<link rel="shortcut icon" type="{% block favicon_debug_type %}image/png{% endblock %}"
href="{% block favicon_debug %}{% static "images/favicon_debug.png" %}{% endblock %}">
{% else %}
<link rel="shortcut icon" type="{% block favicon_tyape %}image/png{% endblock %}"
href="{% block favicon %}{% static "images/favicon.png" %}{% endblock %}">
{% endif %}
{% endblock %}

{% block viewport_container %}
<meta name="viewport" content="{% block viewport %}width=device-width, initial-scale=1.0{% endblock %}">
{% endblock %}

{% block charset_container %}
<meta charset="{% block chartset %}utf-8{% endblock %}">
{% endblock %}

{% block meta %}{% endblock %}

{% block opengraph_meta %}{% endblock %}

{% block head %}{% endblock %}
{% block extra_head %}{% endblock %}

</head>
{% endblock head_container %}

{% block body_container %}
<body class="{% block body_class %}{% endblock %}">

{% block body %}{% endblock %}
{% block extra_body %}{% endblock %}

</body>
{% endblock %}
</html>
@@ -0,0 +1,3 @@
<script>
document.write('<script src="http://' + (location.host || 'localhost').split(':')[0] + ':35729/livereload.js?snipver=1"></' + 'script>')
</script>

0 comments on commit 3600184

Please sign in to comment.