1
1
mirror of https://github.com/jxnblk/mdx-deck.git synced 2024-09-17 18:07:43 +03:00

fix basePath issue on single deck site

This commit is contained in:
Bryan Kegley 2019-07-18 12:59:47 -05:00
parent 4f340a3caf
commit 23d7c8b9f7

View File

@ -108,7 +108,7 @@ exports.createPages = async ({ graphql, actions, reporter }) => {
component: DeckTemplate,
context: {
...deck.node,
slug: '',
slug: basePath,
},
})
return