Skip to content
This repository has been archived by the owner on Dec 28, 2023. It is now read-only.

Commit

Permalink
Remove language selector from nav header layout
Browse files Browse the repository at this point in the history
We've moved it to a-wild-theme

Signed-off-by: Daniel F. Dickinson <[email protected]>
  • Loading branch information
danielfdickinson committed Oct 29, 2023
1 parent 7876ba1 commit 921f645
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions layouts/partials/wtg-shell/output/page-header-nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,8 @@
<menu>
<li><a href="{{ relref .Page "/" }}">{{ site.Title }}</a></li>
</menu>
{{- /* Next header piece is/are links to translations of this page */ -}}
{{- if .IsTranslated }}
<details>
<summary>A↔B</summary>
<div>
{{- range .Translations }}
<span><a href="{{ .RelPermalink }}">{{ with .Language.LanguageName }}{{ . }}{{ else }}{{ .Lang }}{{ end }}</a></span>
{{- end }}
</div>
</details>
{{- else -}}
{{- /* Next header piece placeholder for language selector */ -}}
<div></div>
{{- end }}
{{- /* Next header piece is/are menu items, if a 'main' menu is defined */}}
<menu>
{{- with site.Menus.main -}}
Expand Down

0 comments on commit 921f645

Please sign in to comment.