diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 4dfc119..1603d5f 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -19,9 +19,11 @@ {{ end }} + - - + + {{ if .Site.IsServer }} {{ $cssOpts := (dict "targetPath" "css/coder.css" "enableSourceMap" true ) }} {{ $styles := resources.Get "scss/coder.scss" | resources.ExecuteAsTemplate "style.coder.css" . | toCSS $cssOpts }} @@ -83,7 +85,8 @@ {{ end -}} {{ if .Site.Params.enableTwemoji }} - + {{ end }} {{ hugo.Generator }} diff --git a/layouts/partials/posts/math.html b/layouts/partials/posts/math.html index 35b779f..56245ac 100644 --- a/layouts/partials/posts/math.html +++ b/layouts/partials/posts/math.html @@ -1,7 +1,7 @@ {{- if or (.Params.math) (.Site.Params.math) -}} - - + {{/* The file is already minified */}} + {{- end -}} {{- if or (.Params.katex) (.Site.Params.katex) -}} - - - + + );"> {{- end -}}