diff --git a/pages/post/_slug/index.vue b/pages/post/_slug/index.vue index ae78c16ca..528be4fd4 100644 --- a/pages/post/_slug/index.vue +++ b/pages/post/_slug/index.vue @@ -91,15 +91,21 @@ export default { HcAuthor, HcShoutButton }, - + head() { + return { + title: this.title + } + }, data() { return { - post: null + post: null, + title: 'loading' } }, watch: { Post(post) { this.post = post[0] + this.title = this.post.title } }, apollo: {