Skip to content

Commit

Permalink
Update head-end.html
Browse files Browse the repository at this point in the history
  • Loading branch information
philwinder authored Mar 6, 2024
1 parent 5c110b9 commit 34ef242
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/partials/custom/head-end.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
{{ $options := dict "inlineImports" true "config" "./assets/css/postcss.config.js" }}
{{ $styles := resources.Get "css/styles.css" }}
{{ $styles = $styles | resources.PostCSS $options }}
{{ if not hugo.IsServer }}
{{ if not .Site.IsServer }}
{{ $styles = $styles | minify | fingerprint | resources.PostProcess }}
{{ end }}
<link href="{{ $styles.RelPermalink | relURL }}" rel="stylesheet" integrity="{{ $styles.Data.integrity }}" />
{{/* /CSS */}}
{{/* /CSS */}}

0 comments on commit 34ef242

Please sign in to comment.