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:
@ -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" -}}
|
||||
|
Reference in New Issue
Block a user