Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove html5shiv #315

Merged
merged 1 commit into from
Aug 11, 2019
Merged

remove html5shiv #315

merged 1 commit into from
Aug 11, 2019

Conversation

coliff
Copy link
Contributor

@coliff coliff commented Aug 1, 2019

<script src="{{"js/html5shiv-printshiv.min.js" | relURL}}{{ if not .Site.Params.disableAssetsBusting }}?{{ now.Unix }}{{ end }}"></script>

This was only ever needed for IE8 (which is not supported with this theme since it uses a newer version of jQuery).

Furthermore it should be loaded in the head anyway. IE9 and later supports HTML5 tags and does not need this polyfill at all.

REF:

`<script src="{{"js/html5shiv-printshiv.min.js" | relURL}}{{ if not .Site.Params.disableAssetsBusting }}?{{ now.Unix }}{{ end }}"></script>`
This was only ever needed for IE8 (which is not supported with this theme since it uses a newer version of jQuery). Furthermore it should be loaded in the head anyway. IE9 supports HTML5 tags and does not need this polyfill at all.
@matalo33 matalo33 added the enhancement Improvements to existing features label Aug 11, 2019
@matalo33 matalo33 added this to the v2.4.0 milestone Aug 11, 2019
@matalo33 matalo33 merged commit be89880 into matcornic:master Aug 11, 2019
@coliff coliff deleted the patch-3 branch August 11, 2019 23:57
maxatome pushed a commit to maxatome/hugo-theme-learn that referenced this pull request Jan 23, 2024
maxatome pushed a commit to maxatome/hugo-theme-learn that referenced this pull request Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvements to existing features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants