We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Linked into every page on the hasper theme is this partial include:
{{partial "scripts.html" .}}
Which comprises of these three script tags:
<script type="text/javascript" src="{{.Site.BaseURL}}js/jquery.js"></script> <script type="text/javascript" src="{{.Site.BaseURL}}js/jquery.fitvids.js"></script> <script type="text/javascript" src="{{.Site.BaseURL}}js/index.js"></script>
Adding around 200ms of load time to the page on a 4g device:
The only thing we use all the jquery code for is some smooth scrolling to jump from the cover page down to the content:
hasper/static/js/index.js
Line 27 in 23c4aed
Definitely not worth all that load.
Look to replace this with a simple function that achieves the same functionality and drops the jquery requirement.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Linked into every page on the hasper theme is this partial include:
Which comprises of these three script tags:
Adding around 200ms of load time to the page on a 4g device:
The only thing we use all the jquery code for is some smooth scrolling to jump from the cover page down to the content:
hasper/static/js/index.js
Line 27 in 23c4aed
Definitely not worth all that load.
Look to replace this with a simple function that achieves the same functionality and drops the jquery requirement.
The text was updated successfully, but these errors were encountered: