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