change: language switch keep the current page
All checks were successful
Blog Deployment / Check-Rebuild (push) Successful in 9s
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-23 19:55:29 +00:00
parent db586c2926
commit 17075b53f7

View File

@@ -77,7 +77,7 @@
<li class="menu-bottom-section"> <li class="menu-bottom-section">
<ol class="menu"> <ol class="menu">
{{- $currentLang := .Language.Lang -}} {{- $currentLang := .Language.Lang -}}
{{- range .Site.Home.AllTranslations }} {{- range .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 }}">