diff default/base/base.html @ 0:9a31d2c02f47

SàT templates, initial commit
author Goffi <goffi@goffi.org>
date Tue, 21 Feb 2017 20:31:01 +0100
parents
children b13a26d55c64
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/default/base/base.html	Tue Feb 21 20:31:01 2017 +0100
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+    <meta charset="utf-8" />
+    <title>{% block title %}{{C.APP_NAME}}{% endblock %}</title>
+    {% if css_inline %}
+        <style type="text/css">
+            {{css_content}}
+        </style>
+    {% else %}
+        <link rel='stylesheet' type="text/css" href='static/style.css'>
+    {% endif %}
+</head>
+<body>
+    <div id="body">
+    {% block body %}
+    {% endblock body %}
+    </div>
+    <footer>{% block footer %}Powered by {{C.APP_NAME}}{% endblock %}</footer>
+</body>
+</html>