diff options
Diffstat (limited to 'pages/blog')
| -rw-r--r-- | pages/blog/_blog.vue | 8 | ||||
| -rw-r--r-- | pages/blog/index.vue | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/pages/blog/_blog.vue b/pages/blog/_blog.vue index 3f328eb..4319252 100644 --- a/pages/blog/_blog.vue +++ b/pages/blog/_blog.vue @@ -3,10 +3,10 @@ <v-card> <v-card-title>{{blogPost.title}}</v-card-title> <v-card-subtitle>{{blogPost.description}}</v-card-subtitle> - <v-card-text :to="'/blog'">Back to posts</v-card-text> + <v-card-text><nuxt-link :to="'/blog'" class="text--white">Back to posts</nuxt-link></v-card-text> <v-divider/> <br/> - <v-card-text v-html="$md.render(blogPost.body)" /> + <v-card-text class="text--white" v-html="$md.render(blogPost.body)" /> </v-card> </v-container> </template> @@ -15,13 +15,13 @@ export default { name: '_blog', head: { - title: '{{blogpost.title}}' + title: 'Blog' }, async asyncData ({ params, payload }) { if (payload) return { blogPost: payload } else { return { - blogPost: await require(`~/assets/content/blog/${params.blog}.json`) + blogPost: await require(`../../assets/content/blog/${params.blog}.json`) } } } diff --git a/pages/blog/index.vue b/pages/blog/index.vue index 5619e6b..c2c1c62 100644 --- a/pages/blog/index.vue +++ b/pages/blog/index.vue @@ -2,8 +2,8 @@ <div> <v-card> <header id="showcase"> - <h1 class="display-3">Blog</h1> - <h1>This is where I post stuff here.</h1> + <h1 class="display-3 animated fadeIn">Blog</h1> + <h1 class="animated fadeIn">This is where I post stuff here.</h1> </header> </v-card> <v-container> |
