diff --git a/components/app/AppFooter.vue b/components/app/AppFooter.vue index a3c291b8b..627b56f3d 100644 --- a/components/app/AppFooter.vue +++ b/components/app/AppFooter.vue @@ -7,9 +7,9 @@ const textLinks = computed(() => config.value?.footer?.textLinks || []) const socialIconsCount = computed(() => Object.entries(config.value?.socials || {}).filter(([, v]) => v).length) const nbSocialIcons = computed(() => (socialIcons.value ? socialIconsCount.value : 0)) -const isIndex = computed(() => route.path === '/') +const isBasicLayout = computed(() => route.meta.layout === 'basic') -watch(isIndex, (value) => { +watch(isBasicLayout, (value) => { updateAppConfig({ docus: { footer: { @@ -22,11 +22,25 @@ watch(isIndex, (value) => {