diff options
Diffstat (limited to 'templates/base.html')
-rw-r--r-- | templates/base.html | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/templates/base.html b/templates/base.html index 5aaa9ff..475e837 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,7 +1,6 @@ {%- set styles = ['layout.css', 'bootstrap-form.css'] + styles|default([]) %} -{%- set scripts = [] + scripts|default([]) %} -<!doctype html> -<html> +{%- set scripts = ['jquery-1.8.2.min.js'] + scripts|default([]) %} +<!doctype html> <html> <head> <meta charset="utf-8" /> <title>{% if title %}{{ title }} – {% endif %}spline accounts</title> @@ -9,7 +8,7 @@ <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) }}"> + <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename=style, version='0.1') }}"> {%- endfor %} </head> <body> @@ -60,5 +59,9 @@ {% endif %} {% block content %}{% endblock %} </section> + + <script type="text/javascript"> + {% block javascript %}{% endblock %} + </script> </body> </html> |