{{ if hugo.IsServer }} {{ $cssOpts := (dict "targetPath" "css/coder.css" "enableSourceMap" true ) }} {{ $styles := resources.Get "scss/coder.scss" | resources.ExecuteAsTemplate "style.coder.css" . | toCSS $cssOpts }} {{ else }} {{ $cssOpts := (dict "targetPath" "css/coder.css" ) }} {{ $styles := resources.Get "scss/coder.scss" | resources.ExecuteAsTemplate "style.coder.css" . | toCSS $cssOpts | minify | fingerprint }} {{ end }} {{ if .Site.Params.rtl }} {{ if hugo.IsServer }} {{ $cssOpts := (dict "targetPath" "css/coder-rtl.css" "enableSourceMap" true ) }} {{ $styles := resources.Get "scss/coder-rtl.scss" | resources.ExecuteAsTemplate "style.coder-rtl.css" . | toCSS $cssOpts }} {{ else }} {{ $cssOpts := (dict "targetPath" "css/coder-rtl.css" ) }} {{ $styles := resources.Get "scss/coder-rtl.scss" | resources.ExecuteAsTemplate "style.coder-rtl.css" . | toCSS $cssOpts | minify | fingerprint }} {{ end }} {{ end }}