Skip to content

Commit

Permalink
Replace .Site.IsServer with hugo.IsServer
Browse files Browse the repository at this point in the history
  • Loading branch information
StefMa authored Oct 12, 2024
1 parent efd3807 commit 575d882
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/css.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- $inServerMode := .Site.IsServer }}
{{- $inServerMode := hugo.IsServer }}
{{- $sass := "style.sass" }}
{{- $cssTarget := "css/style.css" }}
{{- $cssOpts := cond ($inServerMode) (dict "targetPath" $cssTarget "enableSourceMap" true) (dict "targetPath" $cssTarget "outputStyle" "compressed") }}
Expand Down

0 comments on commit 575d882

Please sign in to comment.