Fix Staticman's raw JSON response in #440 (#444)

* Fix redirection error in daattali/beautiful-jekyll#440

* Corrected jQuery call URL in Staticman script
This commit is contained in:
Vincent Tam 2018-12-26 18:49:58 +01:00 committed by Dean Attali
parent 4178dd7464
commit cbf763b0aa

View File

@ -2,7 +2,7 @@
<!-- doing something a bit funky here because I want to be careful not to include JQuery twice! -->
<script>
if (typeof jQuery == 'undefined') {
document.write('<script src="/beautiful-jekyll/js/jquery-1.11.2.min.js"></scr' + 'ipt>');
document.write('<script src="{{ site.baseurl }}/js/jquery-1.11.2.min.js"></scr' + 'ipt>');
}
</script>
<script>