Skip to content

Commit

Permalink
尝试解决导航栏路径问题
Browse files Browse the repository at this point in the history
  • Loading branch information
siuze committed Mar 7, 2024
1 parent 25e3ded commit 4c7034a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/notion/getNotionData.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ function getCustomNav({ allPages }) {
p.to = '/' + p.slug
}
}
customNav.push({ icon: p.icon || null, name: p.title, to: p.slug, target: '_blank', show: true, summary: p.summary || null })
customNav.push({ icon: p.icon || null, name: p.title, to: p.to, target: p.target, show: true, summary: p.summary || null })
})
}
return customNav
Expand Down

0 comments on commit 4c7034a

Please sign in to comment.