fix staticman to use correct js files

This commit is contained in:
Dean Attali 2020-04-27 10:18:00 -04:00 committed by GitHub
parent 5b83706330
commit 1fbf55a390
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,9 +75,9 @@
<!-- doing something a bit funky here because I want to be careful not to include JQuery twice! --> <!-- doing something a bit funky here because I want to be careful not to include JQuery twice! -->
<script> <script>
if (typeof jQuery == 'undefined') { if (typeof jQuery == 'undefined') {
document.write('<script src="{{ "/js/jquery-1.11.2.min.js" | relative_url }}"></scr' + 'ipt>'); document.write('<script src="{{ "/assets/js/jquery-1.11.2.min.js" | relative_url }}"></scr' + 'ipt>');
} }
</script> </script>
<script src="{{ "/js/staticman.js" | relative_url }}"></script> <script src="{{ "/assets/js/staticman.js" | relative_url }}"></script>
</div> </div>
{% endif %} {% endif %}