summaryrefslogtreecommitdiffstats
path: root/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html
new file mode 100644
index 0000000..6e4e403
--- /dev/null
+++ b/templates/base.html
@@ -0,0 +1,18 @@
+{%- set styles = ['layout.css'] + styles|default([]) %}
+{%- set scripts = [] + scripts|default([]) %}
+<!doctype html>
+<html>
+ <head>
+ <title>{% if title %}{{ title }} – {% endif %}spline accounts</title>
+ {%- for script in scripts %}
+ <script type="text/javascript" src="{{ url_for('static', filename=script) }}"></script>
+ {%- endfor %}
+ {%- for style in styles %}
+ <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename=style) }}">
+ {%- endfor %}
+ </head>
+ <body>
+ <h1>{% if title %}{{ title }}{% else %}spline accounts{% endif %}</h1>
+ {% block content %}{% endblock %}
+ </body>
+</html>