diff --git a/templates/header_slim.html b/templates/header_slim.html index 086e1e7..870e8fc 100644 --- a/templates/header_slim.html +++ b/templates/header_slim.html @@ -10,13 +10,13 @@ - {% for alt in get_alts(this) %} - {%- if this.alt != alt %} - - {{ alt|title|upper }} - - {% endif -%} - {% endfor %} + {% for alt in get_alts(this) %} + {%- if this.alt != alt and site.get('.'|url(alt=alt)) %} + + {{ alt|title|upper }} + + {% endif -%} + {% endfor %} Login