Date: Mon, 9 Dec 2024 19:25:34 GMT From: Fernando =?utf-8?Q?Apestegu=C3=ADa?= <fernape@FreeBSD.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org Subject: git: b0edb10bc4 - main - documentation: Fix build with gohugo 0.139.4 Message-ID: <202412091925.4B9JPYAV072405@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/doc/commit/?id=b0edb10bc42d6b9e5a747a928dfa4ba4c965c793 commit b0edb10bc42d6b9e5a747a928dfa4ba4c965c793 Author: Fernando ApesteguĂa <fernape@FreeBSD.org> AuthorDate: 2024-12-09 19:24:16 +0000 Commit: Fernando ApesteguĂa <fernape@FreeBSD.org> CommitDate: 2024-12-09 19:25:16 +0000 documentation: Fix build with gohugo 0.139.4 resources.ToCSS was deprecated in 0.128. gohugo 0.139.4 errors on this. --- documentation/themes/beastie/layouts/partials/site-head.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/documentation/themes/beastie/layouts/partials/site-head.html b/documentation/themes/beastie/layouts/partials/site-head.html index 1031387406..55bcabac9e 100644 --- a/documentation/themes/beastie/layouts/partials/site-head.html +++ b/documentation/themes/beastie/layouts/partials/site-head.html @@ -14,7 +14,7 @@ {{ if $.Site.Params.isOnline }} <link rel="shortcut icon" href="{{ absLangURL ($.Site.BaseURL) }}favicon.ico"> - {{- $styles := resources.Get "styles/main.scss" | resources.ToCSS | resources.Minify }} + {{- $styles := resources.Get "styles/main.scss" | css.Sass | resources.Minify }} <link rel="stylesheet" href="{{ $styles.Permalink }}"> <link rel="stylesheet" href="{{ absLangURL ($.Site.BaseURL) }}css/font-awesome-min.css"> @@ -29,7 +29,7 @@ {{ else }} <link rel="shortcut icon" href="/favicon.ico"> - {{- $styles := resources.Get "styles/main.scss" | resources.ToCSS | resources.Minify }} + {{- $styles := resources.Get "styles/main.scss" | css.Saas | resources.Minify }} <link rel="stylesheet" href="{{ $styles.RelPermalink }}"> <link rel="stylesheet" href="/css/font-awesome-min.css">
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202412091925.4B9JPYAV072405>
