File tree 1 file changed +7
-6
lines changed
1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 1
1
{% assign sectionSlug = page.strat %}
2
2
{% assign ourSection = site.data.sidenav.strat.sections | where: "slug", sectionSlug %}
3
+ {% assign type = page.url | split: "/" %}
3
4
4
5
< div class ="sidebar sidebar--sticky sidebar--scroll sidebar--dark ">
5
6
< div class ="sidebar__content ">
6
7
< nav class ="menu ">
7
8
< ul class ="menu__list list list--unstyle ">
8
9
< li class ="menu-item ">
9
- < a href ="{{ site.baseurl }}/connections/destinations /catalog/ " class ="menu-item__link menu-item__link--small menu-item__link--back ">
10
+ < a href ="{{ site.baseurl }}/connections/{{ type[2] }} /catalog/ " class ="menu-item__link menu-item__link--small menu-item__link--back ">
10
11
{% include icons/symbols/arrow-left.svg %}
11
12
< span > Back to Connections</ span >
12
13
</ a >
13
14
</ li >
14
15
</ ul >
15
16
</ nav >
16
-
17
+
17
18
< nav class ="menu menu--compact ">
18
19
< ul class ="menu__list list list--unstyle ">
19
20
{% for item in ourSection %}
22
23
< span class ="flex__column ">
23
24
{{ item.section_title }}
24
25
</ span >
25
-
26
+
26
27
< div class ="menu-item__chevron flex__column flex__column--shrink ">
27
28
{% include icons/symbols/caret-down.svg %}
28
29
</ div >
29
30
</ button >
30
-
31
+
31
32
< ul class ="menu-item__body " data-ref ="accordion[body] ">
32
33
{% for subsection in item.section %}
33
34
{% if subsection.path %}
34
35
{% assign menuLink = site.baseurl | append: subsection.path | append: "/" %}
35
-
36
+
36
37
{% if subsection.path contains "http://" or subsection.path contains "https://"%}
37
38
{% assign menuLink = subsection.path %}
38
39
{% endif %}
39
40
{% endif %}
40
-
41
+
41
42
< li class ="menu-item menu-item--compact ">
42
43
< a href ="{{ menuLink }} " class ="menu-item__link ">
43
44
{{ subsection.title }}
You can’t perform that action at this time.
0 commit comments