File tree Expand file tree Collapse file tree 3 files changed +17
-3
lines changed
Expand file tree Collapse file tree 3 files changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,14 @@ export const defaultListPageLayout: PageLayout = {
6464 { Component : Component . Darkmode ( ) } ,
6565 ] ,
6666 } ) ,
67- Component . Explorer ( ) ,
67+ // Component.Explorer(),
68+ Component . Explorer ( {
69+ mapFn : ( node ) => {
70+ if ( node . isFolder ) {
71+ node . displayName = "📁 " + node . displayName
72+ }
73+ } ,
74+ } )
6875 ] ,
6976 right : [ ] ,
7077}
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ export default ((userOpts?: Partial<Options>) => {
9494 < line x1 = "4" x2 = "20" y1 = "18" y2 = "18" />
9595 </ svg >
9696 </ button >
97- < button
97+ { /* <button
9898 type="button"
9999 class="title-button explorer-toggle desktop-explorer"
100100 data-mobile={false}
@@ -115,7 +115,11 @@ export default ((userOpts?: Partial<Options>) => {
115115 >
116116 <polyline points="6 9 12 15 18 9"></polyline>
117117 </svg>
118- </ button >
118+ </button> */ }
119+ < div class = "desktop-explorer" >
120+ < h2 > { opts . title ?? i18n ( cfg . locale ) . components . explorer . title } </ h2 >
121+ </ div >
122+
119123 < div class = "explorer-content" aria-expanded = { false } >
120124 < OverflowList class = "explorer-ul" />
121125 </ div >
Original file line number Diff line number Diff line change 22
33// put your custom CSS here!
44footer {
5+ margin-bottom : 2rem ;
6+ margin-top : 2rem ;
7+
58 & p {
69 font-size : medium ;
710 }
You can’t perform that action at this time.
0 commit comments