Fix Hugo v0.156+ deprecations: Site.Author, Site.Data, and libsass

- Replace .Site.Author.{email,name} with .Site.Params.{social.email,author} in rss.xml
- Replace .Site.Data with hugo.Data in footer, social, and contact-box templates
- Switch SCSS transpiler from libsass to dartsass; add @use "sass:color" and replace darken()/lighten() with color.adjust()

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-30 07:49:24 +02:00
parent 01f46097f0
commit 561c0fa320
6 changed files with 12 additions and 11 deletions
@@ -1,5 +1,5 @@
{{ with $.Page.Site.Params.social }}
{{ $socialMap := $.Page.Site.Data.notrack.social }}
{{ $socialMap := hugo.Data.notrack.social }}
{{ $width := default "12em" (.Params.Get "width") }}
{{ $height := default "auto" (.Params.Get "height") }}
{{ $float := default "right" (.Params.Get "float") }}
@@ -1,4 +1,4 @@
{{ $socialMap := .Site.Data.notrack.social }}
{{ $socialMap := hugo.Data.notrack.social }}
{{ with $.Site.Params.social }}
<div class="social">