fix: use .Language.Lang
All checks were successful
Blog Deployment / Check-Rebuild (push) Successful in 5s
Blog Deployment / Build (push) Has been skipped
Blog Deployment / Deploy-Staging (push) Successful in 9s
Blog Deployment / Test-Staging (push) Successful in 2s
Blog Deployment / Merge (push) Has been skipped
Blog Deployment / Deploy-Production (push) Has been skipped
Blog Deployment / Test-Production (push) Has been skipped
Blog Deployment / Clean (push) Has been skipped
Blog Deployment / Notify (push) Has been skipped

This commit is contained in:
2025-06-24 20:59:35 +00:00
parent 3f7a2e47a0
commit e7e889092d

View File

@@ -59,7 +59,7 @@
{{- range $page.AllTranslations }} {{- range $page.AllTranslations }}
{{- if ne .Language.Lang $currentLang }} {{- if ne .Language.Lang $currentLang }}
<li class="lang-toggle-icon"> <li class="lang-toggle-icon">
<a href="{{ .Permalink }}" title="Switch to {{ .Language.LanguageName }}"> <a href="{{ .Permalink }}" title="Switch to {{ .Language.Lang }}">
{{ partial "helper/icon" (printf "toggle_to_%s" .Language.Lang) }} {{ partial "helper/icon" (printf "toggle_to_%s" .Language.Lang) }}
</a> </a>
</li> </li>