Skip to content

Commit

Permalink
fix: remove _theme.yml fetch with doc driven by default (#1310)
Browse files Browse the repository at this point in the history
  • Loading branch information
Atinux authored and farnabaz committed Sep 7, 2022
1 parent f5f60b4 commit 05d7cf0
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -417,16 +417,7 @@ export default defineNuxtModule<ModuleOptions>({
page: true,
navigation: true,
surround: true,
globals: {
theme: {
where: [
{
_id: 'content:_theme.yml'
}
],
without: ['_']
}
},
globals: {},
layoutFallbacks: ['theme'],
injectPage: true
}
Expand Down

0 comments on commit 05d7cf0

Please sign in to comment.