fix jquery version in staticman (#675)

This commit is contained in:
Dean Attali 2020-07-12 01:18:39 -04:00 committed by GitHub
parent 941f01fb02
commit f23fe9c418
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -11,6 +11,7 @@
- Use Open Graph type 'article' for blog posts (#669) - Use Open Graph type 'article' for blog posts (#669)
- Use Twitter's `summary_large_image` card when `share-img` is specified (#668) - Use Twitter's `summary_large_image` card when `share-img` is specified (#668)
- Make post images in the feed page smaller on smaller devices - Make post images in the feed page smaller on smaller devices
- Fixed jQuery version in staticman (#671)
## v3.0.0 2020-05-07 ## v3.0.0 2020-05-07

View File

@ -75,7 +75,7 @@
<!-- 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="{{ "/assets/js/jquery-1.11.2.min.js" | relative_url }}"></scr' + 'ipt>'); document.write('<script src="{{ "/assets/js/jquery-3.4.1.min.js" | relative_url }}"></scr' + 'ipt>');
} }
</script> </script>
<script src="{{ "/assets/js/staticman.js" | relative_url }}"></script> <script src="{{ "/assets/js/staticman.js" | relative_url }}"></script>