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,
|
||||
PostMeta,
|
||||
PostTags
|
||||
},
|
||||
metaInfo () {
|
||||
return {
|
||||
title: this.$page.post.title,
|
||||
meta: [
|
||||
{
|
||||
name: 'description',
|
||||
content: this.$page.post.description
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
Loading…
Add table
Reference in a new issue