From 812dccc65a1bee64672d06c8fea9f2dbe014c726 Mon Sep 17 00:00:00 2001 From: NDevTK <31563761+NDevTK@users.noreply.github.com> Date: Fri, 17 Jan 2025 13:19:19 +0000 Subject: [PATCH] Fix build --- themes/book/layouts/partials/docs/footer.html | 2 +- themes/book/layouts/partials/docs/html-head.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/book/layouts/partials/docs/footer.html b/themes/book/layouts/partials/docs/footer.html index 7804207e3..1052d8695 100644 --- a/themes/book/layouts/partials/docs/footer.html +++ b/themes/book/layouts/partials/docs/footer.html @@ -1,5 +1,5 @@
-{{ if .Site.IsMultiLingual }} +{{ if hugo.IsMultilingual }} {{ partial "docs/languages" . }} {{ end }} diff --git a/themes/book/layouts/partials/docs/html-head.html b/themes/book/layouts/partials/docs/html-head.html index 702246b57..c6fe27599 100644 --- a/themes/book/layouts/partials/docs/html-head.html +++ b/themes/book/layouts/partials/docs/html-head.html @@ -16,7 +16,7 @@ {{ end -}} -{{- $styles := resources.Get "book.scss" | resources.ExecuteAsTemplate "book.scss" . | resources.ToCSS | resources.Minify | resources.Fingerprint }} +{{- $styles := resources.Get "book.scss" | resources.ExecuteAsTemplate "book.scss" . | css.Sass | resources.Minify | resources.Fingerprint }} {{- if default true .Site.Params.BookSearch }}