diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 9b42c8d..42dcbee 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -14,11 +14,15 @@
{{ end }}
+ {{ if not (.Site.Params.noCss) }}
+ {{ end }}
+ {{ if not (.Site.Params.noCss) }}
{{ partial "defercss.html" (dict "url" .Site.Params.normalizeCssUrl "extra" "") }}
{{ partial "defercss.html" (dict "url" .Site.Params.katexCssUrl "extra" "") }}
+ {{ end }}
{{ range .AlternativeOutputFormats -}}
@@ -32,9 +36,11 @@
{{ $icon := resources.Get "img/favicon.png" }}
+ {{ if not (.Site.Params.noCss) }}
{{ partial "defercss.html" (dict "url" $sidenotes.Permalink "extra" "") }}
{{ partial "defercss.html" (dict "url" $code.Permalink "extra" "") }}
+ {{ end }}
{{ if .Site.IsServer }}