change: move language switch to the social menu
Some checks failed
Blog Deployment / Check-Rebuild (push) Successful in 10s
Blog Deployment / Build (push) Has been skipped
Blog Deployment / Deploy-Staging (push) Successful in 9s
Blog Deployment / Test-Staging (push) Failing after 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
Some checks failed
Blog Deployment / Check-Rebuild (push) Successful in 10s
Blog Deployment / Build (push) Has been skipped
Blog Deployment / Deploy-Staging (push) Successful in 9s
Blog Deployment / Test-Staging (push) Failing after 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:
@@ -54,6 +54,16 @@
|
||||
</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
{{- $currentLang := .Language.Lang -}}
|
||||
{{- range .AllTranslations }}
|
||||
{{- if ne .Language.Lang $currentLang }}
|
||||
<li>
|
||||
<a href="{{ .Permalink }}" title="{{ .Language.LanguageName }}">
|
||||
<img src="/flags/{{ .Language.Lang }}.svg" alt="{{ .Language.LanguageName }}" width="24" height="16" style="vertical-align: middle;">
|
||||
</a>
|
||||
</li>
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
</ol>
|
||||
{{- end -}}
|
||||
|
||||
@@ -76,18 +86,6 @@
|
||||
{{ end }}
|
||||
<li class="menu-bottom-section">
|
||||
<ol class="menu">
|
||||
{{- $currentLang := .Language.Lang -}}
|
||||
{{- range .AllTranslations }}
|
||||
{{- if ne .Language.Lang $currentLang }}
|
||||
<li id="i18n-switch">
|
||||
<a href="{{ .Permalink }}" title="{{ .Language.LanguageName }}">
|
||||
<img src="/flags/{{ .Language.Lang }}.png" alt="{{ .Language.LanguageName }} flag" style="width: 20px; height: auto; vertical-align: middle; margin-right: 5px;" />
|
||||
{{ .Language.LanguageName }}
|
||||
</a>
|
||||
</li>
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
{{ if (default false .Site.Params.colorScheme.toggle) }}
|
||||
<li id="dark-mode-toggle">
|
||||
{{ partial "helper/icon" "moon" }}
|
||||
|
Reference in New Issue
Block a user