hugo-bearblog : only get required stylesheet
This commit is contained in:
parent
63e45137af
commit
21292ae509
@ -17,7 +17,7 @@
|
||||
|
||||
<!-- External Script, Stylesheet linking -->
|
||||
{{- /* CSS stylesheet */}}
|
||||
{{- $stylesheet := (resources.Match "css/*.css") | resources.Concat "css/style.css" | resources.Minify }}
|
||||
{{- $stylesheet := (resources.Get "css/style.css") | resources.Minify }}
|
||||
{{- if not site.Params.assets.disableFingerprinting }}
|
||||
{{- $stylesheet := $stylesheet | fingerprint }}
|
||||
<link crossorigin="anonymous" href="{{ $stylesheet.RelPermalink }}" integrity="{{ $stylesheet.Data.Integrity }}" rel="preload stylesheet" as="style">
|
||||
@ -41,6 +41,7 @@
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<header>
|
||||
{{- partial "header.html" . -}}
|
||||
</header>
|
||||
|
Loading…
Reference in New Issue
Block a user