You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: templates/navigation/top-navigation.html
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,12 @@
2
2
<liclass="top-navigation__item {% if current_path and current_path == '/' %}active{% endif %}">
3
3
<ahref="/">Features</a>
4
4
</li>
5
-
<liclass="top-navigation__item {% if current_path and current_path is starting_with('/documentation/') %}active{% endif %}">
5
+
<liclass="top-navigation__item {% if current_path and current_path is starting_with('/documentation/') and not current_path is starting_with('/documentation/api/') %}active{% endif %}">
6
6
<ahref="/documentation/getting-started/">Docs</a>
7
7
</li>
8
+
<liclass="top-navigation__item {% if current_path and current_path is starting_with('/documentation/api/') %}active{% endif %}">
9
+
<ahref="/documentation/api/">API</a>
10
+
</li>
8
11
<liclass="top-navigation__item {% if current_path and current_path is starting_with('/tutorials/exercises/') %}active{% endif %}">
0 commit comments