File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ interface Options {
11
11
export default ( ( opts ?: Options ) => {
12
12
const NavigationLinks : QuartzComponent = ( props : QuartzComponentProps ) => {
13
13
const links = opts ?. links ?? [ ]
14
- console . log ( links )
15
14
return (
16
15
< nav class = "nav-links" >
17
16
< button className = "menu-btn" >
Original file line number Diff line number Diff line change @@ -49,9 +49,10 @@ export default (() => {
49
49
</ button >
50
50
< div id = "toc-content" class = { ! props . fileData . collapseToc ? "collapsed" : "" } >
51
51
< ul class = "overflow" >
52
+ { /* TODO: Handling of Folder based Pattern Files is Remaining for Rendering the Links. */ }
52
53
{ data . toc ?. map ( ( tocEntry ) => (
53
54
< li key = { tocEntry . slug } class = { `depth-${ tocEntry . depth } ` } >
54
- < a href = { `${ data . slug } #${ tocEntry . slug } ` } data-for = { tocEntry . slug } >
55
+ < a href = { `./ ${ data . slug } #${ tocEntry . slug } ` } data-for = { tocEntry . slug } >
55
56
{ tocEntry . text }
56
57
</ a >
57
58
</ li >
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ export const NotFoundPage: QuartzEmitterPlugin = () => {
33
33
} ,
34
34
async emit ( ctx , _content , resources ) : Promise < FilePath [ ] > {
35
35
const cfg = ctx . cfg . configuration
36
- const slug = "/ 404/index " as FullSlug
36
+ const slug = "404" as FullSlug
37
37
38
38
const url = new URL ( `https://${ cfg . baseUrl ?? "example.com" } ` )
39
39
const path = url . pathname as FullSlug
You can’t perform that action at this time.
0 commit comments