about summary refs log tree commit diff
path: root/components/Posts/PostList/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'components/Posts/PostList/index.js')
-rw-r--r--components/Posts/PostList/index.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/components/Posts/PostList/index.js b/components/Posts/PostList/index.js
index 11d44ff..7e0b1f4 100644
--- a/components/Posts/PostList/index.js
+++ b/components/Posts/PostList/index.js
@@ -12,11 +12,12 @@ export const getPosts = async () => {
   }
 }
 
-export const parsePosts = posts =>
-  posts.map(post => ({
+export const parsePosts = (posts) =>
+  posts.map((post) => ({
     title: post.content.meta.title,
+    image: post.content.meta.image,
     description: post.content.description,
-    route: post.route
+    route: post.route,
   }))
 
 export default PostList