[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 0150af1c3b300f53fa47577b183330d478ac7662
Author: hiro <hiro@xxxxxxxxxxxxxx>
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 %}

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits