diff options
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r-- | layouts/partials/head.html | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index eb26f82..6d02fac 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -67,7 +67,11 @@ {{- template "_internal/twitter_cards.html" . -}} <!-- Polyfill for old browsers --> +{{ `<!--[if lte IE 9]> + <script src="https://cdnjs.cloudflare.com/ajax/libs/classlist/1.1.20170427/classList.min.js"></script> +<![endif]-->` | safeHTML }} + {{ `<!--[if lt IE 9]> - <script src="https://cdn.jsdelivr.net/npm/html5shiv@3.7.3/dist/html5shiv.min.js" integrity="sha256-9uAoNWHdszsUDhSXf/rVcWOqKPfi5/8V5R4UdbZle2A=" crossorigin="anonymous"></script> - <script src="https://cdn.jsdelivr.net/npm/respond.js@1.4.2/dest/respond.min.js" crossorigin="anonymous"></script> + <script src="https://cdn.jsdelivr.net/npm/html5shiv@3.7.3/dist/html5shiv.min.js"></script> + <script src="https://cdn.jsdelivr.net/npm/respond.js@1.4.2/dest/respond.min.js"></script> <![endif]-->` | safeHTML }} |