[tor-commits] [lego/master] Update footer
hiro at torproject.org
hiro at torproject.org
Fri Aug 23 12:02:04 UTC 2019
commit 7dddd1b1d5bed1be4fdcd65a5261d50ed09d82f7
Author: hiro <hiro at torproject.org>
Date: Fri Aug 23 14:01:58 2019 +0200
Update footer
---
templates/footer.html | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/templates/footer.html b/templates/footer.html
index e42f109..5849145 100644
--- a/templates/footer.html
+++ b/templates/footer.html
@@ -35,8 +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"}
+ <a class="nav-link" href="{{ item.path }}">
{% else %}
- <a class="nav-link text-light" href="{{ item.path }}">
+ <a class="nav-link" href="{{ item.path }}/{{this.alt}}">
{% endif %}
{{ _(item.label) }}
{% if this.is_child_of(item.path) %}
More information about the tor-commits
mailing list