mirror of
https://github.com/jxnblk/mdx-deck.git
synced 2024-09-19 02:47:09 +03:00
fix basePath issue on single deck site
This commit is contained in:
parent
4f340a3caf
commit
23d7c8b9f7
@ -108,7 +108,7 @@ exports.createPages = async ({ graphql, actions, reporter }) => {
|
||||
component: DeckTemplate,
|
||||
context: {
|
||||
...deck.node,
|
||||
slug: '',
|
||||
slug: basePath,
|
||||
},
|
||||
})
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user