mirror of
https://git.adityakumar.xyz/hugo-theme-introduction.git
synced 2024-11-09 14:59:45 +00:00
Reset to current master, remove crossorigin tags
- Reset previous changes on this branch because Victoria made some pretty messy commits - Only change the code this PR is intended to address
This commit is contained in:
parent
29bca079b0
commit
fabdd8764e
1 changed files with 2 additions and 2 deletions
|
@ -8,11 +8,11 @@
|
||||||
{{ $cssOpts := (dict "targetPath" "/css/main.css" ) }}
|
{{ $cssOpts := (dict "targetPath" "/css/main.css" ) }}
|
||||||
{{ $postCSSOpts := (dict "use" "autoprefixer" ) }}
|
{{ $postCSSOpts := (dict "use" "autoprefixer" ) }}
|
||||||
{{ $bundle := $bundleRaw | toCSS $cssOpts | postCSS $postCSSOpts | minify | fingerprint }}
|
{{ $bundle := $bundleRaw | toCSS $cssOpts | postCSS $postCSSOpts | minify | fingerprint }}
|
||||||
<link rel="stylesheet" href="{{ $bundle.Permalink }}" integrity="{{ $bundle.Data.Integrity }}" crossorigin="anonymous" media="screen">
|
<link rel="stylesheet" href="{{ $bundle.Permalink }}" integrity="{{ $bundle.Data.Integrity }}" media="screen">
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
<!-- Custom css -->
|
<!-- Custom css -->
|
||||||
{{ range .Site.Params.customCSS -}}
|
{{ range .Site.Params.customCSS -}}
|
||||||
{{ $style := resources.Get . }}
|
{{ $style := resources.Get . }}
|
||||||
<link rel="stylesheet" href="{{ $style.Permalink }}" integrity="{{ $style.Data.Integrity }}" crossorigin="anonymous" media="screen">
|
<link rel="stylesheet" href="{{ $style.Permalink }}" integrity="{{ $style.Data.Integrity }}" media="screen">
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
Loading…
Reference in a new issue