diff options
author | Christian Oliff <christianoliff@yahoo.com> | 2018-06-10 06:47:44 +0900 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-06-09 23:47:44 +0200 |
commit | 2e6712e2814f333caa807888c1d8a9a5a3c03709 (patch) | |
tree | d7f416f05e72644da3d8f8d62fd29a04597a028e /tpl | |
parent | 65deb72dc4c9299416cf2d9defddb96dba4101fd (diff) |
tpl: Always load GA script over HTTPS
Diffstat (limited to 'tpl')
-rw-r--r-- | tpl/tplimpl/embedded/templates.autogen.go | 2 | ||||
-rwxr-xr-x | tpl/tplimpl/embedded/templates/google_analytics_async.html | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tpl/tplimpl/embedded/templates.autogen.go b/tpl/tplimpl/embedded/templates.autogen.go index 7226751b2..2bcb0dcda 100644 --- a/tpl/tplimpl/embedded/templates.autogen.go +++ b/tpl/tplimpl/embedded/templates.autogen.go @@ -163,7 +163,7 @@ if (!doNotTrack) { ga('send', 'pageview'); } </script> -<script async src='//www.google-analytics.com/analytics.js'></script> +<script async src='https://www.google-analytics.com/analytics.js'></script> {{ end }} {{- end -}}`}, {`google_news.html`, `{{ if .IsPage }}{{ with .Params.news_keywords }} diff --git a/tpl/tplimpl/embedded/templates/google_analytics_async.html b/tpl/tplimpl/embedded/templates/google_analytics_async.html index 6a88ed855..976be11fc 100755 --- a/tpl/tplimpl/embedded/templates/google_analytics_async.html +++ b/tpl/tplimpl/embedded/templates/google_analytics_async.html @@ -23,6 +23,6 @@ if (!doNotTrack) { ga('send', 'pageview'); } </script> -<script async src='//www.google-analytics.com/analytics.js'></script> +<script async src='https://www.google-analytics.com/analytics.js'></script> {{ end }} -{{- end -}}
\ No newline at end of file +{{- end -}} |