commit f4e63da99d97ca8840c4c842be6bdbffce5d889a Author: hiro hiro@torproject.org Date: Fri Aug 23 14:04:38 2019 +0200
Fix templates --- templates/footer.html | 4 ++-- templates/navbar.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/templates/footer.html b/templates/footer.html index 2f9af2b..438d404 100644 --- a/templates/footer.html +++ b/templates/footer.html @@ -36,9 +36,9 @@ {% if link %} <a class="nav-link text-light" href="{{ item.path|url(alt=this.alt) }}"> {% elif item.label == "Documentation" or item.label == "Blog" %} - <a class="nav-link" href="{{ item.path }}"> + <a class="nav-link text-light" href="{{ item.path }}"> {% else %} - <a class="nav-link" href="{{ item.path }}/{{ this.alt }}"> + <a class="nav-link text-light" href="{{ item.path }}/{{ this.alt }}"> {% endif %} {{ _(item.label) }} {% if this.is_child_of(item.path) %} diff --git a/templates/navbar.html b/templates/navbar.html index 095f42a..f15f215 100644 --- a/templates/navbar.html +++ b/templates/navbar.html @@ -31,7 +31,7 @@ {% elif item.label == "Documentation" or item.label == "Blog" %} <a class="nav-link" href="{{ item.path }}"> {% else %} - <a class="nav-link" href="{{ item.path }}/{{ this.alt }}"> + <a class="nav-link" href="{{ item.path }}{{ this.alt }}"> {% endif %} {{ _(item.label) }} {% if this.path == item.path %}