@@ -26,7 +26,7 @@ <h1>{{ this.title }}</h1>
2626 ['/contributing-code/usability', 'Usability'],
2727 ] %}
2828 < 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 >
3030 {% if (href == '/contributing-code/contributing-code') %}
3131 < ul >
3232 {% for href, title in [
@@ -36,7 +36,7 @@ <h1>{{ this.title }}</h1>
3636 ['/contributing-code/python-guidelines', 'Python Guidelines'],
3737 ['/contributing-code/translation-guide', 'Translation Guide'],
3838 ] %}
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 >
4040 {% endfor %}
4141 </ ul >
4242 {% endif %}
@@ -57,7 +57,7 @@ <h1>{{ this.title }}</h1>
5757 ['/community/code-of-conduct', 'Code of Conduct'],
5858 ] %}
5959 < 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 >
6161 {% if (href == '/community/community-team') %}
6262 < ul >
6363 {% for href, title in [
@@ -66,7 +66,7 @@ <h1>{{ this.title }}</h1>
6666 ['/community/community-team/community-building-roles', 'Community Building Roles'],
6767 ['/community/community-team/engagement-channels', 'Engagement Channels'],
6868 ] %}
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 >
7070 {% endfor %}
7171 </ ul >
7272 {% endif %}
@@ -92,15 +92,15 @@ <h1>{{ this.title }}</h1>
9292 ['/internships/history', 'History'],
9393 ] %}
9494 < 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 >
9696 {% if (href == '/internships') %}
9797 < ul >
9898 {% for href, title in [
9999 ['/internships/applicant-guide', 'Applicant Guide'],
100100 ['/internships/intern-guide', 'Intern Guide'],
101101 ['/internships/mentor-guide', 'Mentor Guide'],
102102 ] %}
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 >
104104 {% endfor %}
105105 </ ul >
106106 {% endif %}
0 commit comments