Fix the 'Page not found' bug
This commit is contained in:
parent
7ce8674fea
commit
d1e249b51d
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue