File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ ${parseResult.html}</main>
149
149
function renderListItem ( p : Page , path : string ) : string {
150
150
return `<li class="observablehq-link${
151
151
p . path === path ? " observablehq-link-active" : ""
152
- } "><a href="${ escapeDoubleQuoted ( relativeUrl ( path , p . path . replace ( / \/ i n d e x $ / , "" ) || "/" ) ) } ">${ escapeData (
152
+ } "><a href="${ escapeDoubleQuoted ( relativeUrl ( path , p . path . replace ( / \/ i n d e x $ / , "/ " ) || "/" ) ) } ">${ escapeData (
153
153
p . name
154
154
) } </a></li>`;
155
155
}
Original file line number Diff line number Diff line change 28
28
< input id ="observablehq-sidebar-toggle " type ="checkbox ">
29
29
< nav id ="observablehq-sidebar ">
30
30
< ol >
31
- < li class ="observablehq-link "> < a href ="./subsection "> Sub-Section</ a > </ li >
31
+ < li class ="observablehq-link "> < a href ="./subsection/ "> Sub-Section</ a > </ li >
32
32
< li class ="observablehq-link observablehq-link-active "> < a href ="./ "> Multi test</ a > </ li >
33
33
</ ol >
34
34
</ nav >
Original file line number Diff line number Diff line change 15
15
< input id ="observablehq-sidebar-toggle " type ="checkbox ">
16
16
< nav id ="observablehq-sidebar ">
17
17
< ol >
18
- < li class ="observablehq-link observablehq-link-active "> < a href ="../subsection "> Sub-Section</ a > </ li >
18
+ < li class ="observablehq-link observablehq-link-active "> < a href ="./ "> Sub-Section</ a > </ li >
19
19
< li class ="observablehq-link "> < a href ="../ "> Multi test</ a > </ li >
20
20
</ ol >
21
21
</ nav >
You can’t perform that action at this time.
0 commit comments