hugo-bearblog : match *.css
This commit is contained in:
parent
d734281a6a
commit
5c7b6a77d9
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
<!-- External Script, Stylesheet linking -->
|
<!-- External Script, Stylesheet linking -->
|
||||||
{{- /* CSS stylesheet */}}
|
{{- /* CSS stylesheet */}}
|
||||||
{{- $stylesheet := (resources.Get "css/style.css") | resources.Minify }}
|
{{- $stylesheet := (resources.Match "css/*.css") | resources.Concat "css/style.css" | resources.Minify }}
|
||||||
{{- if not site.Params.assets.disableFingerprinting }}
|
{{- if not site.Params.assets.disableFingerprinting }}
|
||||||
{{- $stylesheet := $stylesheet | fingerprint }}
|
{{- $stylesheet := $stylesheet | fingerprint }}
|
||||||
<link crossorigin="anonymous" href="{{ $stylesheet.RelPermalink }}" integrity="{{ $stylesheet.Data.Integrity }}" rel="preload stylesheet" as="style">
|
<link crossorigin="anonymous" href="{{ $stylesheet.RelPermalink }}" integrity="{{ $stylesheet.Data.Integrity }}" rel="preload stylesheet" as="style">
|
||||||
|
Loading…
Reference in New Issue
Block a user