diff options
Diffstat (limited to 'grumpy/templates/_util.html')
-rw-r--r-- | grumpy/templates/_util.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/grumpy/templates/_util.html b/grumpy/templates/_util.html index 5e6ee0b..6c2c837 100644 --- a/grumpy/templates/_util.html +++ b/grumpy/templates/_util.html @@ -1,3 +1,6 @@ +{% macro load_css(filename) -%} +<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='css/' + filename + '.css')}}"> +{% endmacro -%} {% macro load_js(filename) -%} <script type="text/javascript" language="javascript" src="{{ url_for('static', filename='js/' + filename +'.js' )}}"></script> {% endmacro -%} |