Skip to content

Commit 730fdbc

Browse files
committed
feat: add support for image as 3rd value in array
1 parent 2901216 commit 730fdbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class Meta {
7979
});
8080
});
8181

82-
return { title: key[0], description: key[1] };
82+
return { title: key[0], description: key[1], image: key[2] || null };
8383
}
8484

8585
middleware(ctx, next) {

0 commit comments

Comments
 (0)