diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index da7d7e5..5bb53eb 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -22,6 +22,10 @@ {{- block "main" . }}{{ end }} {{ partialCached "footer.html" . .Layout .Kind (.Param "hideFooter") (.Param "ShowCodeCopyButtons") -}} + + + + diff --git a/static/js/instantpage.min.js b/static/js/instantpage.min.js new file mode 100644 index 0000000..0aef335 --- /dev/null +++ b/static/js/instantpage.min.js @@ -0,0 +1 @@ +let e=null,o,a,i,s=65,n,c,r=new Set;const d=1111;if(u=document.createElement("link").relList.supports("prefetch")){var u="instantVaryAccept"in document.body.dataset||"Shopify"in window,l=navigator.userAgent.indexOf("Chrome/");if(-1{t()}))(function(){const e=new IntersectionObserver(t=>{t.forEach(t=>{t.isIntersecting&&(t=t.target,e.unobserve(t),E(t.href))})});document.querySelectorAll("a").forEach(t=>{b(t)&&e.observe(t)})},{timeout:1500})}}}function v(t){n=performance.now();t=t.target.closest("a");b(t)&&E(t.href,"high")}function p(t){if(!(performance.now()-n{E(e.href,"high"),c=void 0},s))}}function g(t){t=t.target.closest("a");b(t)&&E(t.href,"high")}function w(t){t.relatedTarget&&t.target.closest("a")==t.relatedTarget.closest("a")||c&&(clearTimeout(c),c=void 0)}function y(t){var e;performance.now()-n