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