Fix: Language-specific sidebar params for subtitle and emoji

This commit is contained in:
BloedeBleidd 2024-10-05 23:36:12 +02:00 committed by GitHub
parent 048a000f17
commit 84de6db81d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -24,7 +24,7 @@
{{ end }}
{{ end }}
</a>
{{ with $.Site.Params.sidebar.emoji }}
{{ with $.Site.Language.Params.sidebar.emoji }}
<span class="emoji">{{ . }}</span>
{{ end }}
</figure>
@ -33,7 +33,7 @@
<div class="site-meta">
<h1 class="site-name"><a href="{{ .Site.BaseURL | relLangURL }}">{{ .Site.Title }}</a></h1>
<h2 class="site-description">{{ .Site.Params.sidebar.subtitle }}</h2>
<h2 class="site-description">{{ .Site.Language.Params.sidebar.subtitle }}</h2>
</div>
</header>