view default/base/base.html @ 2:abd55d94f82b

error: added basic base and 404 templates
author Goffi <goffi@goffi.org>
date Sun, 05 Mar 2017 23:25:47 +0100
parents b13a26d55c64
children 7a1626e78d53
line wrap: on
line source

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>{% block title %}{{C.APP_NAME}}{% endblock %}</title>
    {% if css_content is defined %}
        <style type="text/css">
            {{css_content}}
        </style>
    {% else %}
        {% for css_file in css_files %}
            <link rel='stylesheet' type="text/css" href='{{root_path}}{{css_file}}'>
        {% endfor %}
    {% endif %}
</head>
<body>
    <div id="body">
    {% block body %}
    {% endblock body %}
    </div>
    <footer>{% block footer %}Powered by {{C.APP_NAME}}{% endblock %}</footer>
</body>
</html>