File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{%- macro menu_item(identifier) -%}
2- {%- set identifier_url = '/' + identifier -%}
2+ {%- set identifier_url = ( '/' + identifier).replace('/donate', '/membership') -%}
33 {%- set trans_url = identifier_url|url(alt=this.alt) -%}
44 {%- set this_is_child = this.is_child_of(identifier_url) -%}
55 < li class ="nav-item{% if this_is_child %} active{% endif %} ">
7070 {{ menu_item('community') }}
7171 {{ menu_item('contributing') }}
7272 {{ menu_item('news') }}
73- < li class ="nav-item ">
74- {%- set this_is_membership_child = this.is_child_of('/membership') -%}
75- < a class ="nav-link{% if this_is_membership_child %} active{% endif %} " href ={{ "/membership"|url(alt=this.alt) }}>
76- {{ "donate"|trans("menu") }}
77- </ a >
78- </ li >
73+ {{ menu_item('donate') }}
7974 </ ul >
8075 < ul class ="nav navbar-nav navbar-right ">
8176 {%- if this.alt == "en" -%}
You can’t perform that action at this time.
0 commit comments