Skip to content

Commit

Permalink
fix: .Site.IsServer -> hugo.IsServer
Browse files Browse the repository at this point in the history
.Site.IsServer is deprecated
  • Loading branch information
ggrs committed Oct 10, 2024
1 parent efd3807 commit 6ca2304
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 6ca2304

Please sign in to comment.