include the aside tag only if the page is translated
This commit is contained in:
parent
4d1437ea02
commit
1435341c0e
1 changed files with 2 additions and 2 deletions
|
@ -8,11 +8,11 @@
|
|||
<a href="{{ .URL }}">{{ .Name }}</a>
|
||||
{{- end }}
|
||||
</nav>
|
||||
<aside>
|
||||
{{- if .IsTranslated }}
|
||||
<aside>
|
||||
{{- range .Translations }}
|
||||
<a href="{{ .Permalink }}">{{ .Lang }}</a>
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
</aside>
|
||||
{{- end }}
|
||||
</header>
|
||||
|
|
Loading…
Reference in a new issue