From 560a0629db2e7f57a74375ca9eb18b67e7adf6d9 Mon Sep 17 00:00:00 2001 From: paspo Date: Sat, 26 Oct 2024 15:17:19 +0200 Subject: [PATCH] fix .tocss deprecation --- layouts/partials/head/head.html | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 layouts/partials/head/head.html diff --git a/layouts/partials/head/head.html b/layouts/partials/head/head.html new file mode 100644 index 0000000..bfaa21c --- /dev/null +++ b/layouts/partials/head/head.html @@ -0,0 +1,9 @@ +{{ $options := (dict "targetPath" "style.css" "outputStyle" "compressed" "enableSourceMap" .Site.Params.enableSourceMaps) }} +{{ $style := resources.Get "sass/main.scss" | resources.ExecuteAsTemplate "main.scss" . | css.Sass $options }} +{{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ .Title }} | {{ .Site.Title }}{{ end }} + + + +{{- partial "analytics/google-tag-manager/head.html" . -}} +{{- partial "head/custom.html" . -}} +{{- template "_internal/twitter_cards.html" . -}}