@@ -37,7 +37,6 @@
<div><a href="/news" {% if news_selected %}class="selected"{% endif %}>{{ 'news' | lang }}</a></div> /
<div><a href="/about"{% if about_selected %}class="selected"{% endif %}>{{ 'about' | lang }}</a></div> /
<div><a href="/contact" {% if contact_selected %}class="selected"{% endif %}>{{ 'contact' | lang }}</a></div> /
- <div><a href="/shop"{% if shop_selected %}class="selected"{% endif %} >{{ 'shop' | lang }}</a></div>
</h1>
</div>
<div class="hbox">
@@ -61,6 +61,9 @@ def lang_url(ctx, value):
if name.startswith('./'):
name = name[2:]
+ if name == 'index':
+ name = ''
+
if value == DEFAULT_LANG:
return "/" + name
else: