From 4662d6f842a72315258562314b4bf5ba9aa94d6b Mon Sep 17 00:00:00 2001 From: paspo Date: Sun, 27 Oct 2024 09:50:19 +0000 Subject: [PATCH] fix .tocss deprecation (#313) fixes #283 Reviewed-on: https://git.libreschool.org/BgLUG/bglug.it/pulls/313 Co-authored-by: paspo Co-committed-by: paspo --- 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" . -}}