fix language selector

parent 5a99eef7
{{ if (and (.IsTranslated) (gt (index .Translations 0).WordCount 0)) }}
{{ if .IsTranslated }}
<div class="well">
<p>Also available in:</p>
{{ range .Translations }}
{{ if gt .WordCount 0 }}
<a href="{{ .Permalink }}">{{ .Language.LanguageName }}</a>
{{ end }}
{{ end }}
</div>
{{ end }}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment