From bcc9aeb57bb61db39a8964c3427682466ebbc743 Mon Sep 17 00:00:00 2001 From: hiro Date: Fri, 23 Aug 2019 14:05:44 +0200 Subject: [PATCH] Fix templates --- databags/menu_footer+en.ini | 6 +++--- templates/footer.html | 4 ++-- templates/navbar.html | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/databags/menu_footer+en.ini b/databags/menu_footer+en.ini index 51d909b..c997390 100644 --- a/databags/menu_footer+en.ini +++ b/databags/menu_footer+en.ini @@ -1,5 +1,5 @@ [jobs] -path = https://www.torproject.org/about/jobs +path = https://www.torproject.org/about/jobs/ label = Jobs [blog] @@ -7,9 +7,9 @@ path = https://blog.torproject.org label = Blog [contact] -path = https://www.torproject.org/contact +path = https://www.torproject.org/contact/ label = Contact [press] -path = https://www.torproject.org/press +path = https://www.torproject.org/press/ label = Press diff --git a/templates/footer.html b/templates/footer.html index 438d404..6168ca4 100644 --- a/templates/footer.html +++ b/templates/footer.html @@ -35,10 +35,10 @@ {% set link = site.get(item.path) %} {% if link %} - {% elif item.label == "Documentation" or item.label == "Blog" %} + {% elif item.label == "Documentation" or item.label == "Blog" or item.label == "Jobs" %} {% else %} - + {% endif %} {{ _(item.label) }} {% if this.is_child_of(item.path) %} diff --git a/templates/navbar.html b/templates/navbar.html index f15f215..db78178 100644 --- a/templates/navbar.html +++ b/templates/navbar.html @@ -28,7 +28,7 @@ {% set link = site.get(item.path) %} {% if link %} - {% elif item.label == "Documentation" or item.label == "Blog" %} + {% elif item.label == "Documentation" or item.label == "Blog" or item.label == "Jobs" %} {% else %}