From b07a2a6cf5fdf9906d28a7858c3cc9b330b70032 Mon Sep 17 00:00:00 2001 From: Ben Goldsworthy Date: Sat, 4 Jan 2025 19:45:00 +0100 Subject: [PATCH] refactor: replace deprecated `resources.toCss` and `.Site.Author` references --- layouts/_default/baseof.html | 6 +++--- layouts/_default/rss.xml | 6 +++--- layouts/blog/single.html | 6 +++--- layouts/partials/copying.html | 2 +- layouts/partials/header/site-header.html | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 59e2f84..00e33e0 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -29,10 +29,10 @@ {{- $mainStylesheet := resources.Get "css/main.scss" }} - {{- $mainStylesheet := $mainStylesheet | resources.ToCSS | resources.Fingerprint }} + {{- $mainStylesheet := $mainStylesheet | css.Sass | resources.Fingerprint }} {{- $printStylesheet := resources.Get "css/print.scss" }} - {{- $printStylesheet := $printStylesheet | resources.ToCSS | resources.Fingerprint }} + {{- $printStylesheet := $printStylesheet | css.Sass | resources.Fingerprint }} {{- if .Param "math" -}} @@ -58,7 +58,7 @@ {{- block "footer" . -}}