From a78c0436a3b750528ea59641d438d1b305390c32 Mon Sep 17 00:00:00 2001
From: Cellebyte <marcel.fest@live.de>
Date: Thu, 08 May 2025 15:25:40 +0000
Subject: [PATCH] fixed hugo 0.147 deprecations + CSS issues

---
 layouts/partials/head/index.html |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/layouts/partials/head/index.html b/layouts/partials/head/index.html
index fd0d9c8..1df8e56 100644
--- a/layouts/partials/head/index.html
+++ b/layouts/partials/head/index.html
@@ -16,11 +16,16 @@
 {{- end }}
 <title>{{ if and $t (ne (trim (lower $s) "") (trim (lower $t) "")) }}{{ $t }} | {{ end }}{{ $s }}</title>
 
-{{- partial "opengraph" . -}}
+{{- partial "opengraph.html" . }}
+{{- partial "schema.html" . }}
+{{- partial "twitter_cards.html" . }}
+{{- if hugo.IsProduction }}
+{{- partial "google_analytics.html" . }}
+{{- end }}
 
 {{- $options := (dict "targetPath" "css/styles.css" "outputStyle" "compressed" "enableSourceMap" "true") -}}
-{{- $styles := resources.Get "sass/main.sass" | resources.ExecuteAsTemplate "main.sass" . | toCSS $options |
-fingerprint "sha512" }}
+{{- $styles := resources.Get "sass/main.sass" | resources.ExecuteAsTemplate "main.sass" . | css.Sass $options | resources.Fingerprint "sha512" }}
+
 <link rel="stylesheet" href="{{ $styles.Permalink }}" integrity="{{ $styles.Data.Integrity }}">
 
 {{- $config := site.Params }}

--
Gitblit v1.10.0