mirror of
https://github.com/TrezOne/congo-hindi-gujarati.git
synced 2026-07-18 16:48:28 -04:00
🌐 Add language switcher to header
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
{{ if .Site.Params.Logo -}}
|
||||
{{ $logo := resources.Get .Site.Params.Logo }}
|
||||
{{ if $logo }}
|
||||
<a href="{{ "/" | relURL }}">
|
||||
<a href="{{ "/" | relLangURL }}">
|
||||
<img
|
||||
src="{{ $logo.RelPermalink }}"
|
||||
width="{{ div $logo.Width 2 }}"
|
||||
@@ -20,10 +20,11 @@
|
||||
<a
|
||||
class="hover:underline hover:decoration-primary-500 hover:decoration-2 hover:underline-offset-2"
|
||||
rel="me"
|
||||
href="{{ "/" | relURL }}"
|
||||
href="{{ "/" | relLangURL }}"
|
||||
>{{ .Site.Title | markdownify | emojify }}</a
|
||||
>
|
||||
{{- end }}
|
||||
{{ partial "translations.html" . }}
|
||||
</div>
|
||||
{{/* Main menu */}}
|
||||
{{ if .Site.Menus.main }}
|
||||
|
||||
Reference in New Issue
Block a user