7 lines
447 B
HTML
7 lines
447 B
HTML
{{ if .Site.IsServer }}
|
|
{{ $style := resources.Get "css/styles.css" | postCSS (dict "config" "./assets/css/dev/postcss.config.js") }}
|
|
<link rel="stylesheet" href="{{ $style.Permalink }}">
|
|
{{ else }}
|
|
{{ $style := resources.Get "css/styles.css" | postCSS (dict "config" "./assets/css/postcss.config.js") | minify | fingerprint }}
|
|
<link rel="stylesheet" href="{{ $style.Permalink }}" integrity="{{ $style.Data.Integrity }}">
|
|
{{ end }} |