add title and desription meta
This commit is contained in:
parent
8fa1cad6b6
commit
e6b673a44b
1 changed files with 11 additions and 0 deletions
|
@ -39,6 +39,17 @@ export default {
|
||||||
Author,
|
Author,
|
||||||
PostMeta,
|
PostMeta,
|
||||||
PostTags
|
PostTags
|
||||||
|
},
|
||||||
|
metaInfo () {
|
||||||
|
return {
|
||||||
|
title: this.$page.post.title,
|
||||||
|
meta: [
|
||||||
|
{
|
||||||
|
name: 'description',
|
||||||
|
content: this.$page.post.description
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Add table
Reference in a new issue