Skip to content

Commit

Permalink
Integrity begone
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewreid committed May 28, 2022
1 parent 989adf3 commit 55aec54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

{{- $options := (dict "targetPath" "css/styles.css" "outputStyle" "compressed" "enableSourceMap" "true") -}}
{{- $styles := resources.Get "scss/style.scss" | resources.ExecuteAsTemplate "scss/style.scss" . | resources.ToCSS $options | resources.Fingerprint "sha512" }}
<link rel="stylesheet" href="{{ $styles.Permalink }}" integrity="{{ $styles.Data.Integrity }}" media="all">
<link rel="stylesheet" href="{{ $styles.Permalink }}" integrity="" crossorigin="anonymous">

<!-- Custom CSS -->
{{ range .Site.Params.css }} <link rel="stylesheet" href="{{ . | absURL }}"> {{ end }}
Expand Down

0 comments on commit 55aec54

Please sign in to comment.