parent
1f5ea80d0c
commit
3e53bdb824
@ -1,65 +1,70 @@ |
|||||||
{% raw %} |
{% raw %} |
||||||
<!doctype html> |
<!DOCTYPE html> |
||||||
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ --> |
<!-- 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 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 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 IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]--> |
||||||
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]--> |
<!--[if gt IE 8]><!--> |
||||||
<head> |
<html class="no-js" lang="en"> |
||||||
<meta charset="utf-8"> |
<!--<![endif]--> |
||||||
|
<head> |
||||||
|
<meta charset="utf-8" /> |
||||||
|
|
||||||
<title>{% block page_title %} |
<title> |
||||||
{% endraw %} |
{% block page_title %} {% endraw %} |
||||||
{{ cookiecutter.project_name }} |
{{ cookiecutter.project_name }} |
||||||
{% raw %} |
{% raw %} {% endblock %} |
||||||
{% endblock %} |
</title> |
||||||
</title> |
<meta |
||||||
<meta name="description" content="{% block meta_description %}{% endblock %}"> |
name="description" |
||||||
<meta name="author" content="{% block meta_author %}{% endblock %}"> |
content="{% block meta_description %}{% endblock %}" |
||||||
|
/> |
||||||
<!-- Mobile viewport optimized: h5bp.com/viewport --> |
<meta name="author" content="{% block meta_author %}{% endblock %}" /> |
||||||
<meta name="viewport" content="width=device-width"> |
|
||||||
|
|
||||||
{{ stylesheet_tag('main_css') | safe }} |
|
||||||
|
|
||||||
{% block css %}{% endblock %} |
<!-- Mobile viewport optimized: h5bp.com/viewport --> |
||||||
|
<meta name="viewport" content="width=device-width" /> |
||||||
|
|
||||||
</head> |
<link |
||||||
<body class="{% block body_class %}{% endblock %}"> |
rel="stylesheet" |
||||||
{% block body %} |
type="text/css" |
||||||
{% with form=form %} |
href="{{ static_url_for('static', filename='build/main_css.css') }}" |
||||||
{% include "nav.html" %} |
/> |
||||||
{% endwith %} |
|
||||||
|
|
||||||
<header>{% block header %}{% endblock %}</header> |
{% block css %}{% endblock %} |
||||||
|
</head> |
||||||
|
<body class="{% block body_class %}{% endblock %}"> |
||||||
|
{% block body %} {% with form=form %} {% include "nav.html" %} {% endwith %} |
||||||
|
|
||||||
<main role="main"> |
<header>{% block header %}{% endblock %}</header> |
||||||
{% with messages = get_flashed_messages(with_categories=true) %} |
|
||||||
{% if messages %} |
|
||||||
<div class="row"> |
|
||||||
<div class="col-md-12"> |
|
||||||
{% 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 col-md --> |
|
||||||
</div><!-- end row --> |
|
||||||
{% endif %} |
|
||||||
{% endwith %} |
|
||||||
|
|
||||||
{% block content %}{% endblock %} |
<main role="main"> |
||||||
</main> |
{% with messages = get_flashed_messages(with_categories=true) %} {% if |
||||||
|
messages %} |
||||||
|
<div class="row"> |
||||||
|
<div class="col-md-12"> |
||||||
|
{% 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 col-md --> |
||||||
|
</div> |
||||||
|
<!-- end row --> |
||||||
|
{% endif %} {% endwith %} {% block content %}{% endblock %} |
||||||
|
</main> |
||||||
|
|
||||||
|
{% include "footer.html" %} |
||||||
|
|
||||||
{% include "footer.html" %} |
<!-- JavaScript at the bottom for fast page loading --> |
||||||
|
<script src="{{ static_url_for('static', filename='build/main_js.js') }}"></script> |
||||||
<!-- JavaScript at the bottom for fast page loading --> |
{% block js %}{% endblock %} |
||||||
{{ javascript_tag('main_js') | safe }} |
<!-- end scripts --> |
||||||
{% block js %}{% endblock %} |
{% endblock %} |
||||||
<!-- end scripts --> |
</body> |
||||||
{% endblock %} |
|
||||||
</body> |
|
||||||
</html> |
</html> |
||||||
{% endraw %} |
{% endraw %} |
||||||
|
Loading…
Reference in new issue