Fix imgs and Update pages title

This commit is contained in:
samaradel
2020-11-11 11:16:38 +02:00
parent b2f19480ff
commit bfcc8daddb
4 changed files with 40 additions and 15 deletions

View File

@@ -2,7 +2,11 @@
<Layout>
<div class="container sm:pxi-0 mx-auto overflow-x-hidden">
<div class="flex flex-wrap with-large pt-8 pb-8 mx-4 sm:-mx-4">
<PostListItem v-for="edge in $page.entries.edges" :key="edge.node.id" :record="edge.node" />
<PostListItem
v-for="edge in $page.entries.edges"
:key="edge.node.id"
:record="edge.node"
/>
</div>
</div>
</Layout>
@@ -44,15 +48,14 @@ query($page:Int) {
</page-query>
<script>
import PostListItem from '~/components/PostListItem.vue';
import PostListItem from "~/components/PostListItem.vue";
export default {
metaInfo: {
title: "Hello, world!"
title: "Home",
},
components: {
PostListItem
}
PostListItem,
},
};
</script>