@murshisoft/docus 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,7 +11,7 @@ const { locale, isEnabled } = useDocusI18n()
11
11
 
12
12
  const collectionName = computed(() => isEnabled.value ? `landing_${locale.value}` : 'landing')
13
13
 
14
- const { data: page } = await useAsyncData(route.path, () => queryCollection(collectionName.value as keyof Collections).path(route.path).first())
14
+ const { data: page } = await useAsyncData(route.path, () => queryCollection(collectionName.value as keyof Collections).first())
15
15
 
16
16
  if (!page.value) {
17
17
  throw createError({ statusCode: 404, statusMessage: 'Page not found', fatal: true })
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@murshisoft/docus",
3
3
  "description": "Nuxt layer for Docus documentation theme",
4
- "version": "1.0.1",
4
+ "version": "1.0.2",
5
5
  "type": "module",
6
6
  "main": "./nuxt.config.ts",
7
7
  "repository": {