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>
|
<a href="{{ .URL }}">{{ .Name }}</a>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
</nav>
|
</nav>
|
||||||
<aside>
|
|
||||||
{{- if .IsTranslated }}
|
{{- if .IsTranslated }}
|
||||||
|
<aside>
|
||||||
{{- range .Translations }}
|
{{- range .Translations }}
|
||||||
<a href="{{ .Permalink }}">{{ .Lang }}</a>
|
<a href="{{ .Permalink }}">{{ .Lang }}</a>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
|
||||||
</aside>
|
</aside>
|
||||||
|
{{- end }}
|
||||||
</header>
|
</header>
|
||||||
|
|
Loading…
Reference in a new issue