@@ -26,7 +26,7 @@ <h1>{{ this.title }}</h1>
26
26
['/contributing-code/usability', 'Usability'],
27
27
] %}
28
28
< li >
29
- < a class ="{% if this.path == {{ href }} %} is-active {% endif%} link " href ="{{ href|url }} "> {{ title }}</ a >
29
+ < a class ="{% if this.path == href %} is-active {% endif%} link " href ="{{ href|url }} "> {{ title }}</ a >
30
30
{% if (href == '/contributing-code/contributing-code') %}
31
31
< ul >
32
32
{% for href, title in [
@@ -36,7 +36,7 @@ <h1>{{ this.title }}</h1>
36
36
['/contributing-code/python-guidelines', 'Python Guidelines'],
37
37
['/contributing-code/translation-guide', 'Translation Guide'],
38
38
] %}
39
- < li > < a class ="{% if this.path == {{ href }} %} is-active {% endif%} link " href ="{{ href|url }} "> < i class ="icon circle-filled "> </ i > {{ title }}</ a > </ li >
39
+ < li > < a class ="{% if this.path == href %} is-active {% endif%} link " href ="{{ href|url }} "> < i class ="icon circle-filled "> </ i > {{ title }}</ a > </ li >
40
40
{% endfor %}
41
41
</ ul >
42
42
{% endif %}
@@ -57,7 +57,7 @@ <h1>{{ this.title }}</h1>
57
57
['/community/code-of-conduct', 'Code of Conduct'],
58
58
] %}
59
59
< li >
60
- < a class ="{% if this.path == {{ href }} %} is-active {% endif%} link " href ="{{ href|url }} "> {{ title }}</ a >
60
+ < a class ="{% if this.path == href %} is-active {% endif%} link " href ="{{ href|url }} "> {{ title }}</ a >
61
61
{% if (href == '/community/community-team') %}
62
62
< ul >
63
63
{% for href, title in [
@@ -66,7 +66,7 @@ <h1>{{ this.title }}</h1>
66
66
['/community/community-team/community-building-roles', 'Community Building Roles'],
67
67
['/community/community-team/engagement-channels', 'Engagement Channels'],
68
68
] %}
69
- < li > < a class ="{% if this.path == {{ href }} %} is-active {% endif%} link " href ="{{ href|url }} "> < i class ="icon circle-filled "> </ i > {{ title }}</ a > </ li >
69
+ < li > < a class ="{% if this.path == href %} is-active {% endif%} link " href ="{{ href|url }} "> < i class ="icon circle-filled "> </ i > {{ title }}</ a > </ li >
70
70
{% endfor %}
71
71
</ ul >
72
72
{% endif %}
@@ -92,15 +92,15 @@ <h1>{{ this.title }}</h1>
92
92
['/internships/history', 'History'],
93
93
] %}
94
94
< li >
95
- < a class ="{% if this.path == {{ href }} %} is-active {% endif%} link " href ="{{ href|url }} "> {{ title }}</ a >
95
+ < a class ="{% if this.path == href %} is-active {% endif%} link " href ="{{ href|url }} "> {{ title }}</ a >
96
96
{% if (href == '/internships') %}
97
97
< ul >
98
98
{% for href, title in [
99
99
['/internships/applicant-guide', 'Applicant Guide'],
100
100
['/internships/intern-guide', 'Intern Guide'],
101
101
['/internships/mentor-guide', 'Mentor Guide'],
102
102
] %}
103
- < li > < a class ="{% if this.path == {{ href }} %} is-active {% endif%} link " href ="{{ href|url }} "> < i class ="icon circle-filled "> </ i > {{ title }}</ a > </ li >
103
+ < li > < a class ="{% if this.path == href %} is-active {% endif%} link " href ="{{ href|url }} "> < i class ="icon circle-filled "> </ i > {{ title }}</ a > </ li >
104
104
{% endfor %}
105
105
</ ul >
106
106
{% endif %}
0 commit comments