feat(shared): Modal for all MDX and Strapi content
This commit is contained in:
parent
39dd5ebaa2
commit
0b40f6f347
9 changed files with 84 additions and 42 deletions
|
@ -106,7 +106,7 @@ function useApp(full = true) {
|
|||
/*
|
||||
* Helper method to construct breadcrumb from navigation structure
|
||||
*/
|
||||
const getBreadcrumb = slug => ({ title: get(navigation, slug).__title, slug })
|
||||
const getBreadcrumb = slug => ([ get(navigation, slug).__title, `/${slug}` ])
|
||||
|
||||
return {
|
||||
// Static vars
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue