Fix modernizr url

If we are in a subdirectory it's not working anymore because the path of modernizr is all time _static/...
This commit is contained in:
Benjamin Port 2015-05-05 14:52:06 +02:00
parent b5b633a841
commit dc0a2a1e11

View File

@ -75,7 +75,7 @@
{%- block extrahead %} {% endblock %}
{# Keep modernizr in head - http://modernizr.com/docs/#installing #}
<script src="_static/js/modernizr.min.js"></script>
<script src="{{ pathto('_static/js/modernizr.min.js', 1) }}"></script>
</head>