1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-03 14:26:41 -04:00

disable instant.page preloading script

it reduces browser compatibility and messes with server-side stats
This commit is contained in:
2020-12-01 09:05:46 -05:00
parent ceee1f10ad
commit 4a43ef359a
4 changed files with 27 additions and 38 deletions

View File

@ -7,9 +7,8 @@
{{- $bundle := slice $darkmode $twemoji -}}
{{- if $includeProdScripts }}
{{- $instant := resources.Get "js/vendor/instantpage.js" -}}
{{- $analytics := resources.Get "js/analytics.js" | resources.ExecuteAsTemplate "js/analytics.js" . }}
{{- $bundle = slice $darkmode $instant $twemoji $analytics }}
{{- $bundle = slice $darkmode $twemoji $analytics }}
{{- end }}
{{- $js := $bundle | resources.Concat "/js/app.js" -}}