1 2 3
{% macro load_js(filename) -%} <script type="text/javascript" language="javascript" src="{{ url_for('static', filename='js/' + filename +'.js' )}}"></script> {% endmacro -%}