test: remove lang toggle
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
<header>
|
||||
{{ with .Site.Params.sidebar.avatar }}
|
||||
{{ if (default true .enabled) }}
|
||||
<figure class="site-avatar">
|
||||
<figure class="site-avatar" style="margin-left: auto; margin-right: auto;"></figure>>
|
||||
<a href="{{ .Site.BaseURL | relLangURL }}">
|
||||
{{ if not .local }}
|
||||
<img src="{{ .src }}" width="300" height="300" class="site-logo" loading="lazy" alt="Avatar">
|
||||
@@ -55,16 +55,6 @@
|
||||
</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
{{- $currentLang := $page.Language.Lang -}}
|
||||
{{- range $page.AllTranslations }}
|
||||
{{- if ne .Language.Lang $currentLang }}
|
||||
<li class="lang-toggle-icon">
|
||||
<a href="{{ .Permalink }}" title="Switch to {{ .Language.Lang }}">
|
||||
{{ partial "helper/icon" (printf "toggle_to_%s" .Language.Lang) }}
|
||||
</a>
|
||||
</li>
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
</ol>
|
||||
{{- end -}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user