upgrade to jquery 3.5.1
This commit is contained in:
parent
fbc6b0bd6d
commit
5991966d38
@ -10,6 +10,7 @@ One of the major changes in this version is that a lot of time was spent on reth
|
|||||||
- Added `share-title` YAML option to give control over the search engine/social media title
|
- Added `share-title` YAML option to give control over the search engine/social media title
|
||||||
- Added `head-extra` YAML option which is similar to `footer-extra` but is used to include custom HTML code in a page's `<head>` tag
|
- Added `head-extra` YAML option which is similar to `footer-extra` but is used to include custom HTML code in a page's `<head>` tag
|
||||||
- Added `full-width` YAML option to allow having full-width pages
|
- Added `full-width` YAML option to allow having full-width pages
|
||||||
|
- Upgraded jQuery to version 3.5.1 to fix a couple security vulnerabilities with the previous version
|
||||||
- Added automatic navbar color detection (#702)
|
- Added automatic navbar color detection (#702)
|
||||||
- Changed navbar and footer background colour to be slightly darker, for better contrast with the default white page background
|
- Changed navbar and footer background colour to be slightly darker, for better contrast with the default white page background
|
||||||
- Changed the behaviour of `site-css` to include site-wide CSS file **before** page-specific files
|
- Changed the behaviour of `site-css` to include site-wide CSS file **before** page-specific files
|
||||||
|
@ -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-3.4.1.min.js" | relative_url }}"></scr' + 'ipt>');
|
document.write('<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></scr' + 'ipt>');
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<script src="{{ "/assets/js/staticman.js" | relative_url }}"></script>
|
<script src="{{ "/assets/js/staticman.js" | relative_url }}"></script>
|
||||||
|
@ -9,8 +9,8 @@ common-ext-css:
|
|||||||
- "https://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic"
|
- "https://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic"
|
||||||
- "https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800"
|
- "https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800"
|
||||||
common-ext-js:
|
common-ext-js:
|
||||||
- href: "https://code.jquery.com/jquery-3.4.1.min.js"
|
- href: "https://code.jquery.com/jquery-3.5.1.slim.min.js"
|
||||||
sri: "sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo="
|
sri: "sha256-4+XzXVhsDmqanXGHaHvgh1gMQKX40OUvDEBTu8JcmNs="
|
||||||
- href: "https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"
|
- href: "https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"
|
||||||
sri: "sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo"
|
sri: "sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo"
|
||||||
- href: "https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"
|
- href: "https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"
|
||||||
|
@ -5,8 +5,8 @@ common-ext-css:
|
|||||||
- href: "https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"
|
- href: "https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"
|
||||||
sri: "sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh"
|
sri: "sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh"
|
||||||
common-ext-js:
|
common-ext-js:
|
||||||
- href: "https://code.jquery.com/jquery-3.4.1.min.js"
|
- href: "https://code.jquery.com/jquery-3.5.1.slim.min.js"
|
||||||
sri: "sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo="
|
sri: "sha256-4+XzXVhsDmqanXGHaHvgh1gMQKX40OUvDEBTu8JcmNs="
|
||||||
- href: "https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"
|
- href: "https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"
|
||||||
sri: "sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo"
|
sri: "sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo"
|
||||||
- href: "https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"
|
- href: "https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"
|
||||||
|
2
assets/js/jquery-3.4.1.min.js
vendored
2
assets/js/jquery-3.4.1.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user