|
@@ -24,7 +24,7 @@
|
|
|
{{ $v := $js.highlight.version }}
|
|
|
{{ printf "<script src=\"%s\" integrity=\"%s\" crossorigin=\"anonymous\"></script>" (printf $js.highlight.url $v) $js.highlight.sri | safeHTML }}
|
|
|
{{ range site.Params.highlight_languages }}
|
|
|
- <script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/{{ $v }}/languages/{{ . }}.min.js"></script>
|
|
|
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/{{ $v }}/languages/{{ . }}.min.js"></script>
|
|
|
{{ end }}
|
|
|
{{ end }}
|
|
|
|
|
@@ -36,7 +36,7 @@
|
|
|
|
|
|
{{/* Maps JS. */}}
|
|
|
{{ if eq site.Params.map 1 }}
|
|
|
- <script async defer src="//maps.googleapis.com/maps/api/js?key={{ site.Params.map_api_key }}"></script>
|
|
|
+ <script async defer src="https://maps.googleapis.com/maps/api/js?key={{ site.Params.map_api_key }}"></script>
|
|
|
{{ if ($scr.Get "use_cdn") }}
|
|
|
{{ printf "<script src=\"%s\" integrity=\"%s\" crossorigin=\"anonymous\"></script>" (printf $js.gmaps.url $js.gmaps.version) $js.gmaps.sri | safeHTML }}
|
|
|
{{ end }}
|
|
@@ -47,7 +47,7 @@
|
|
|
{{/* Comments JS. */}}
|
|
|
{{ $comments_enabled := and site.DisqusShortname (not (or site.Params.disable_comments $.Params.disable_comments)) }}
|
|
|
{{ if and $comments_enabled (site.Params.comment_count | default true) }}
|
|
|
- <script id="dsq-count-scr" src="//{{ site.DisqusShortname }}.disqus.com/count.js" async></script>
|
|
|
+ <script id="dsq-count-scr" src="https://{{ site.DisqusShortname }}.disqus.com/count.js" async></script>
|
|
|
{{ end }}
|
|
|
|
|
|
{{/* Initialise code highlighting. */}}
|