File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 23
23
< li class ="navigation-menu-item ">
24
24
{% capture translatedPageId %}/{{page.language}}{{navItem.url | remove_first: '.html' }}{% endcapture %}
25
25
{% assign navItemTranslated = site.documents | where: 'id', translatedPageId | first %}
26
- < a href ="{% if navItemTranslated.url %}{{navItemTranslated.url}}{% elsif navItem.url contains '://' or navItem.url == '#' %}{{navItem.url}}{% else %}{{site.baseurl}}{{navItem.url}}{% endif %} " id ="{{ navItem.title | downcase | strip }} " {% if page.url contains navItem.url %}class ="active "{% endif %} > {{navItem.title}}</ a >
26
+ < a href ="{% if navItemTranslated.url %}{{navItemTranslated.url}}{% elsif navItem.url contains '://' or navItem.url == '#' %}{{navItem.url}}{% else %}{{site.baseurl}}{{navItem.url}}{% endif %} " id ="{{ navItem.title | downcase | strip | remove: ' ' }} " {% if page.url contains navItem.url %}class ="active "{% endif %} > {{navItem.title}}</ a >
27
27
{% if navItem.submenu %}
28
28
< ul class ="navigation-dropdown ">
29
29
{% for subItem in navItem.submenu %}
42
42
< nav class ="doc-navigation-submenus ">
43
43
{% for navItem in navdata %}
44
44
{% if navItem.submenu %}
45
- < ul class ="navigation-submenu " id ="{{ navItem.title | downcase | strip }} " style ="display: none; ">
45
+ < ul class ="navigation-submenu " id ="{{ navItem.title | downcase | strip | remove: ' ' }} " style ="display: none; ">
46
46
{% for subItem in navItem.submenu %}
47
47
< li >
48
48
< a href ="{% if subItem.url contains '://' %}{{subItem.url}}{% else %}{{site.baseurl}}{{subItem.url}}{% endif %} "> {{ subItem.title }}</ a >
You can’t perform that action at this time.
0 commit comments