mirror of
https://github.com/torproject/lego.git
synced 2024-11-23 09:39:44 +00:00
Fix templates
This commit is contained in:
parent
f4e63da99d
commit
bcc9aeb57b
@ -1,5 +1,5 @@
|
||||
[jobs]
|
||||
path = https://www.torproject.org/about/jobs
|
||||
path = https://www.torproject.org/about/jobs/
|
||||
label = Jobs
|
||||
|
||||
[blog]
|
||||
@ -7,9 +7,9 @@ path = https://blog.torproject.org
|
||||
label = Blog
|
||||
|
||||
[contact]
|
||||
path = https://www.torproject.org/contact
|
||||
path = https://www.torproject.org/contact/
|
||||
label = Contact
|
||||
|
||||
[press]
|
||||
path = https://www.torproject.org/press
|
||||
path = https://www.torproject.org/press/
|
||||
label = Press
|
||||
|
@ -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" or item.label == "Jobs" %}
|
||||
<a class="nav-link text-light" href="{{ item.path }}">
|
||||
{% else %}
|
||||
<a class="nav-link text-light" 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) %}
|
||||
|
@ -28,7 +28,7 @@
|
||||
{% 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" or item.label == "Jobs" %}
|
||||
<a class="nav-link" href="{{ item.path }}">
|
||||
{% else %}
|
||||
<a class="nav-link" href="{{ item.path }}{{ this.alt }}">
|
||||
|
Loading…
Reference in New Issue
Block a user