mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-30 22:39:58 +02:00
tpl: HTTPS the instagram Shortcode JS
This JavaScript will always load over HTTPS so it's best to specify that. Protocol-less loaded resources are an anti-pattern (REF: https://www.paulirish.com/2010/the-protocol-relative-url/)
This commit is contained in:
@@ -239,6 +239,6 @@
|
||||
</div>
|
||||
</blockquote>
|
||||
{{- if not .pc.Simple -}}
|
||||
<script async src="//www.instagram.com/embed.js"></script>
|
||||
<script async src="https://www.instagram.com/embed.js"></script>
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
Reference in New Issue
Block a user