[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [lego/master] Update footer
commit 7dddd1b1d5bed1be4fdcd65a5261d50ed09d82f7
Author: hiro <hiro@xxxxxxxxxxxxxx>
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) %}
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits