update
This commit is contained in:
parent
16cfd3a2d3
commit
5dca30a165
@ -18,16 +18,12 @@
|
||||
{{ hugo.Generator }}
|
||||
|
||||
{{- $styles := resources.Get "css/styles.css" | postCSS (dict "config" "./assets/css/") -}}
|
||||
{{- if hugo.IsServer }}
|
||||
<link rel="stylesheet" href="{{ $styles.RelPermalink }}" />
|
||||
{{ else }}
|
||||
{{- $styles := $styles| minify | fingerprint | resources.PostProcess -}}
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="{{ $styles.Permalink }}"
|
||||
integrity="{{ $styles.Data.Integrity }}"
|
||||
/>
|
||||
{{ end -}}
|
||||
|
||||
<!-- KaTeX support -->
|
||||
{{ if .Params.math }}
|
||||
|
Loading…
Reference in New Issue
Block a user