mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-15 20:44:01 +02:00
tpl: Always load GA script over HTTPS
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
65deb72dc4
commit
2e6712e281
@@ -50,7 +50,7 @@ Disqus:
|
||||
b.AssertFileContent("public/index.html",
|
||||
"'anonymizeIp', true",
|
||||
"'script','https://www.google-analytics.com/analytics.js','ga');\n\tga('create', 'ga_id', 'auto')",
|
||||
"<script async src='//www.google-analytics.com/analytics.js'>")
|
||||
"<script async src='https://www.google-analytics.com/analytics.js'>")
|
||||
|
||||
// Disqus
|
||||
b.AssertFileContent("public/index.html", "\"disqus_shortname\" + '.disqus.com/embed.js';")
|
||||
|
Reference in New Issue
Block a user