remove integrity attribute
parent
7db164d74d
commit
ef7f37960e
|
@ -1,4 +1,4 @@
|
|||
{{- $defines := dict "MEASUREMENT_ID" (jsonify .Site.GoogleAnalytics) -}}
|
||||
{{- with resources.Get "gtag.ts" | js.Build (dict "defines" $defines) | minify | fingerprint }}
|
||||
<script async defer src="{{ .Permalink }}" integrity="{{ .Data.Integrity }}"></script>
|
||||
<script async defer src="{{ .Permalink }}"></script>
|
||||
{{- end }}
|
|
@ -1,11 +1,11 @@
|
|||
{{- with resources.GetMatch "favicon**" -}}
|
||||
<link rel="icon" href="{{ .Permalink }}" integrity="{{ .Data.Integrity }}">
|
||||
<link rel="icon" href="{{ .Permalink }}">
|
||||
{{- end }}
|
||||
{{- with resources.Get "main.scss" | toCSS | minify | fingerprint }}
|
||||
<link rel="stylesheet" href="{{ .Permalink }}" integrity="{{ .Data.Integrity }}">
|
||||
<link rel="stylesheet" href="{{ .Permalink }}">
|
||||
{{- end }}
|
||||
{{- with resources.Get "main.ts" | js.Build | minify | fingerprint }}
|
||||
<script async defer src="{{ .Permalink }}" integrity="{{ .Data.Integrity }}"></script>
|
||||
<script async defer src="{{ .Permalink }}"></script>
|
||||
{{- end }}
|
||||
{{- if not .Site.IsServer }}
|
||||
{{- partial "head/google-analytics" . }}
|
||||
|
|
Loading…
Reference in New Issue