Fix the 'Page not found' bug

This commit is contained in:
Andrew Illarionov 2024-02-20 22:47:01 +03:00
parent 7ce8674fea
commit d1e249b51d
1 changed files with 1 additions and 3 deletions

View File

@ -110,7 +110,7 @@ if (data.value) {
} }
useHead({ useHead({
title: 'Page not found', title: data.value ? data.value.title : 'Page not found',
htmlAttrs: { htmlAttrs: {
lang: config.locale || 'en', lang: config.locale || 'en',
}, },
@ -168,5 +168,3 @@ useHead({
</article> </article>
<NotFound v-else /> <NotFound v-else />
</template> </template>
<style scoped lang="scss"></style>