We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
hugo.isServer
1 parent b038051 commit 371c06eCopy full SHA for 371c06e
1 file changed
themes/codefor-theme/layouts/partials/css.html
@@ -1,4 +1,4 @@
1
-{{- $inServerMode := .Site.IsServer }}
+{{- $inServerMode := hugo.IsServer }}
2
{{- $sass := "scss/main.scss" }}
3
{{- $cssTarget := "css/style.css" }}
4
{{- $cssOpts := cond ($inServerMode) (dict "targetPath" $cssTarget "enableSourceMap" true) (dict "targetPath" $cssTarget "outputStyle" "compressed") }}
0 commit comments