Skip to content

Commit ef7f379

Browse files
committed
remove integrity attribute
1 parent 7db164d commit ef7f379

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{{- $defines := dict "MEASUREMENT_ID" (jsonify .Site.GoogleAnalytics) -}}
22
{{- with resources.Get "gtag.ts" | js.Build (dict "defines" $defines) | minify | fingerprint }}
3-
<script async defer src="{{ .Permalink }}" integrity="{{ .Data.Integrity }}"></script>
3+
<script async defer src="{{ .Permalink }}"></script>
44
{{- end }}

themes/tfsci/layouts/partials/head/resources.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{{- with resources.GetMatch "favicon**" -}}
2-
<link rel="icon" href="{{ .Permalink }}" integrity="{{ .Data.Integrity }}">
2+
<link rel="icon" href="{{ .Permalink }}">
33
{{- end }}
44
{{- with resources.Get "main.scss" | toCSS | minify | fingerprint }}
5-
<link rel="stylesheet" href="{{ .Permalink }}" integrity="{{ .Data.Integrity }}">
5+
<link rel="stylesheet" href="{{ .Permalink }}">
66
{{- end }}
77
{{- with resources.Get "main.ts" | js.Build | minify | fingerprint }}
8-
<script async defer src="{{ .Permalink }}" integrity="{{ .Data.Integrity }}"></script>
8+
<script async defer src="{{ .Permalink }}"></script>
99
{{- end }}
1010
{{- if not .Site.IsServer }}
1111
{{- partial "head/google-analytics" . }}

0 commit comments

Comments
 (0)