From 91837de4f73f55bfde1947382daeee32bf0195fd Mon Sep 17 00:00:00 2001 From: iGor milhit Date: Thu, 15 Aug 2024 08:09:23 +0200 Subject: [PATCH] layouts: move `.Site` (deprecated) to `hugo` Co-Authored-by: iGor milhit --- layouts/partials/head.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 3914252..0f837cf 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -3,7 +3,7 @@ {{ .Title }} - {{ .Site.Title }} - {{- if .Site.IsServer -}} + {{- if hugo.IsServer -}} {{- $options := (dict "targetPath" "styles.css" "enableSourceMap" true) -}} {{- $styles := resources.Get "scss/main.scss" | toCSS $options }}