From b21ba20c90722ee342c0810ed4fece8bb0e23852 Mon Sep 17 00:00:00 2001 From: Roger Gonzalez Date: Wed, 2 Oct 2024 15:24:35 -0300 Subject: [PATCH] Fixed hugo .Site.IsServer deprecation --- themes/hugo-whisper-theme/layouts/_default/baseof.html | 9 --------- 1 file changed, 9 deletions(-) diff --git a/themes/hugo-whisper-theme/layouts/_default/baseof.html b/themes/hugo-whisper-theme/layouts/_default/baseof.html index 9be88fb..ca6448e 100644 --- a/themes/hugo-whisper-theme/layouts/_default/baseof.html +++ b/themes/hugo-whisper-theme/layouts/_default/baseof.html @@ -9,13 +9,8 @@ {{ block "meta_tags" . }}{{end}} - {{ if .Site.IsServer }} - {{ $style := resources.Get "scss/style.scss" | toCSS (dict "targetPath" "css/style.css" "enableSourceMap" true) }} - - {{ else }} {{ $style := resources.Get "scss/style.scss" | toCSS (dict "targetPath" "css/style.css" "enableSourceMap" false) }} - {{ end }} {{ block "header_css" . }}{{ end }} @@ -60,11 +55,7 @@ {{ block "footer_js" . }} {{ end }} - {{ if .Site.IsServer }} - - {{ else }} - {{ end }}