File tree Expand file tree Collapse file tree 2 files changed +15
-15
lines changed
Expand file tree Collapse file tree 2 files changed +15
-15
lines changed Original file line number Diff line number Diff line change 11{%
22 set linkList = [
3- { " url" : " /" , " text" : " Home" , " children " : [
4- ] },
3+ { " url" : " /" , " text" : " Home" },
4+ { " url " : " /conf " , " text " : " Jamstack Conf 2022 " },
55 { " url" : " /glossary/" , " text" : " Glossary" },
66 { " url" : " /women-of-jamstack/" , " text" : " Women of Jamstack" },
77 { " url" : " /tv/" , " text" : " Jamstack TV" },
Original file line number Diff line number Diff line change 1- <ul class =" block list-jams-logo-pink mb-12" >
1+ <ul class =" block list-jams-logo-pink mb-12" >
22 {% for link in linkList %}
33 <li >
44 <a href =" {{ link.url }}"
77 </a >
88 </li >
99 {%- if link .children %}
10- <li class =" list-jams-no-bullet" >
11- <ul class =" list-jams-logo list-jams-logo-border" >
12- {%- for childlink in link .children %}
13- <li >
14- <a href =" {{ childlink.url }}"
10+ <li class =" list-jams-no-bullet" >
11+ <ul class =" list-jams-logo list-jams-logo-border" >
12+ {%- for childlink in link .children %}
13+ <li >
14+ <a href =" {{ childlink.url }}"
1515 class =" block text-sm text-white hover:underline py-2 pl-16 pr-8{% if page.url.split(" /" )[1] == childlink.url.split(" /" )[1] %} bg-gray-900 font-bold{% endif %}" >
16- {{ childlink .text }}
17- </a >
18- </li >
19- {%- endfor %}
20- </ul >
21- </li >
16+ {{ childlink .text }}
17+ </a >
18+ </li >
19+ {%- endfor %}
20+ </ul >
21+ </li >
2222 {%- endif %}
2323 {% endfor %}
24- </ul >
24+ </ul >
You can’t perform that action at this time.
0 commit comments