[tor-commits] [lego/develop] Fix typo

hiro at torproject.org hiro at torproject.org
Tue Apr 7 16:13:23 UTC 2020


commit 0150af1c3b300f53fa47577b183330d478ac7662
Author: hiro <hiro at torproject.org>
Date:   Fri Aug 23 14:03:23 2019 +0200

    Fix typo
---
 templates/footer.html | 4 ++--
 templates/navbar.html | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/templates/footer.html b/templates/footer.html
index 5849145..2f9af2b 100644
--- a/templates/footer.html
+++ b/templates/footer.html
@@ -35,10 +35,10 @@
           {% set link = site.get(item.path) %}
           {% if link %}
             <a class="nav-link text-light" href="{{ item.path|url(alt=this.alt) }}">
-          {% elif item.label == "Documentation" or item.label == "Blog"}
+          {% 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.is_child_of(item.path) %}
diff --git a/templates/navbar.html b/templates/navbar.html
index a1dac26..095f42a 100644
--- a/templates/navbar.html
+++ b/templates/navbar.html
@@ -28,10 +28,10 @@
             {% set link = site.get(item.path) %}
             {% if link %}
               <a class="nav-link" href="{{ item.path|url(alt=this.alt) }}">
-            {% elif item.label == "Documentation" or item.label == "Blog"}
+            {% 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 %}





More information about the tor-commits mailing list