|
|
@@ -54,10 +54,10 @@ |
|
|
|
{{ if eq $translation.Lang .Lang }} |
|
|
|
{{ $selected := false }} |
|
|
|
{{ if eq $pageLang .Lang}} |
|
|
|
<option id="{{ $translation.Language }}" value="{{ $translation.URL }}" selected>{{ .LanguageName }} |
|
|
|
<option id="{{ $translation.Language }}" value="{{ $translation.Permalink }}" selected>{{ .LanguageName }} |
|
|
|
</option> |
|
|
|
{{ else }} |
|
|
|
<option id="{{ $translation.Language }}" value="{{ $translation.URL }}">{{ .LanguageName }}</option> |
|
|
|
<option id="{{ $translation.Language }}" value="{{ $translation.Permalink }}">{{ .LanguageName }}</option> |
|
|
|
{{ end }} |
|
|
|
{{ end }} |
|
|
|
{{ end }} |