You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
71 lines
2.1 KiB
71 lines
2.1 KiB
{% raw %}
|
|
<!doctype html>
|
|
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
|
|
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
|
|
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
|
|
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
|
|
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
|
|
<head>
|
|
<meta charset="utf-8">
|
|
|
|
<title>{% block page_title %}
|
|
{% endraw %}
|
|
{{ cookiecutter.project_name }}
|
|
{% raw %}
|
|
{% endblock %}
|
|
</title>
|
|
<meta name="description" content="{% block meta_description %}{% endblock %}">
|
|
<meta name="author" content="{% block meta_author %}{% endblock %}">
|
|
|
|
<!-- Mobile viewport optimized: h5bp.com/viewport -->
|
|
<meta name="viewport" content="width=device-width">
|
|
|
|
{% assets "common_css" %}
|
|
<link rel="stylesheet" href="{{ ASSET_URL }}">
|
|
{% endassets %}
|
|
|
|
{% block css %}{% endblock %}
|
|
|
|
</head>
|
|
<body class="{% block body_class %}{% endblock %}">
|
|
{% block body %}
|
|
{% with form=form %}
|
|
{% include "_layouts/nav.html" %}
|
|
{% endwith %}
|
|
|
|
<header>{% block header %}{% endblock %}</header>
|
|
<div class="{% block content_class %}container{% endblock content_class %}">
|
|
|
|
<div role="main">
|
|
{% with messages = get_flashed_messages(with_categories=true) %}
|
|
{% if messages %}
|
|
<div class="row">
|
|
<div class="span12">
|
|
{% for category, message in messages %}
|
|
<div class="alert alert-{{ category }}">
|
|
<a class="close" title="Close" href="#" data-dismiss="alert">×</a>
|
|
{{message}}
|
|
</div><!-- end .alert -->
|
|
{% endfor %}
|
|
</div><!-- end span -->
|
|
</div><!-- end row -->
|
|
{% endif %}
|
|
{% endwith %}
|
|
|
|
{% block content %}{% endblock %}
|
|
</div>
|
|
|
|
</div><!-- end container -->
|
|
|
|
{% include "_layouts/footer.html" %}
|
|
|
|
<!-- JavaScript at the bottom for fast page loading -->
|
|
{% assets "common_js" %}
|
|
<script type="text/javascript" src="{{ ASSET_URL }}"></script>
|
|
{% endassets %}
|
|
{% block js %}{% endblock %}
|
|
<!-- end scripts -->
|
|
{% endblock %}
|
|
</body>
|
|
</html>
|
|
{% endraw %}
|
|
|