mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
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:
parent
b5b633a841
commit
dc0a2a1e11
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user