File tree Expand file tree Collapse file tree 3 files changed +13
-8
lines changed
Expand file tree Collapse file tree 3 files changed +13
-8
lines changed Original file line number Diff line number Diff line change 77 padding : 0 ;
88 margin : 0 0 0.5rem ;
99 list-style : none;
10+ min-width : 250px ;
1011}
1112
1213.sub-nav-heading-link {
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ export default function (data: Lume.Data) {
22 const sectionData = data . sectionData ;
33 const currentUrl = data . currentUrl ;
44 const isReference = currentUrl . startsWith ( "/api/" ) ;
5+ const isDenoAPI = currentUrl . startsWith ( "/api/deno/" ) ;
56
67 // Reference page nav has no heirarchy and a different data names
78 if ( isReference ) {
@@ -12,13 +13,15 @@ export default function (data: Lume.Data) {
1213 < ul className = "sub-nav" >
1314 { nav . items ?. map ( ( item : any ) => (
1415 < li key = { item . href } >
15- < a
16- href = { item . href }
17- className = "sub-nav-link blocklink"
18- data-active = { item . active }
19- >
20- { item . name }
21- </ a >
16+ { ( isDenoAPI && item . name === "Uncategorized" ) ? < > </ > : (
17+ < a
18+ href = { item . href }
19+ className = "sub-nav-link blocklink"
20+ data-active = { item . active }
21+ >
22+ { item . name }
23+ </ a >
24+ ) }
2225 </ li >
2326 ) ) }
2427 </ ul >
Original file line number Diff line number Diff line change 7474 "/examples/watching-files" : " /examples/watching_files" ,
7575 "/examples/web-workers" : " /examples/web_workers" ,
7676 "/examples/writing-files" : " /examples/writing_files" ,
77- "/examples/writing-tests" : " /examples/writing_tests"
77+ "/examples/writing-tests" : " /examples/writing_tests" ,
78+ "/api/deno/" : " /api/deno/~/Deno"
7879}
You can’t perform that action at this time.
0 commit comments