fix: syntax
All checks were successful
Blog Deployment / Check-Rebuild (push) Successful in 4s
Blog Deployment / Build (push) Has been skipped
Blog Deployment / Deploy-Staging (push) Successful in 8s
Blog Deployment / Test-Staging (push) Successful in 2s
Blog Deployment / Merge (push) Successful in 5s
Blog Deployment / Deploy-Production (push) Successful in 9s
Blog Deployment / Test-Production (push) Successful in 2s
Blog Deployment / Clean (push) Has been skipped

This commit is contained in:
2025-06-10 12:19:43 +00:00
parent 69c843ea04
commit 2e09675b36

View File

@@ -78,13 +78,14 @@
<ol class="menu"> <ol class="menu">
{{- $currentLang := .Language.Lang -}} {{- $currentLang := .Language.Lang -}}
{{- range .Site.Home.AllTranslations }} {{- range .Site.Home.AllTranslations }}
{{- if ne .Language.Lang $currentLang }} {{- if ne .Language.Lang $currentLang }}
<li id="i18n-switch"> <li id="i18n-switch">
<a href="{{ .Permalink }}" title="{{ .Language.LanguageName }}"> <a href="{{ .Permalink }}" title="{{ .Language.LanguageName }}">
{{ partial "helper/icon" "language" }} {{ partial "helper/icon" "language" }}
{{ .Language.LanguageName }} {{ .Language.LanguageName }}
</a> </a>
</li> </li>
{{- end }}
{{- end }} {{- end }}
{{ if (default false .Site.Params.colorScheme.toggle) }} {{ if (default false .Site.Params.colorScheme.toggle) }}