summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-12-10 20:59:23 +0100
committerFlorian Dold <florian.dold@gmail.com>2019-12-10 20:59:23 +0100
commit6bfcf1874ec5341adf936cafbef0feb5bf542297 (patch)
treeaccd58d8da06324983c6773f3b1916ee722ba55e /common
parentd870b94c0cf62272e61d804d8485f21f3350ba4f (diff)
downloadwww-6bfcf1874ec5341adf936cafbef0feb5bf542297.tar.gz
www-6bfcf1874ec5341adf936cafbef0feb5bf542297.tar.bz2
www-6bfcf1874ec5341adf936cafbef0feb5bf542297.zip
generate relative URLs
Diffstat (limited to 'common')
-rw-r--r--common/navigation.j2.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/navigation.j2.inc b/common/navigation.j2.inc
index c8a645b..278a70c 100644
--- a/common/navigation.j2.inc
+++ b/common/navigation.j2.inc
@@ -1,6 +1,6 @@
{% macro navlink(site, text) -%}
<a class="nav-link {{ 'active' if filename == site else '' }}"
- href="/{{ lang }}/{{ site }}">
+ href="{{ site }}">
{{ text }}
</a>
{%- endmacro %}