fix(microsite): moved back to object mutation
Signed-off-by: marcofaggian <m@marcofaggian.com>
This commit is contained in:
@@ -26,7 +26,9 @@ const pluginMetadata = fs
|
||||
)
|
||||
.toString();
|
||||
|
||||
return { ...metadata, date: new Date(gitIsoDate) };
|
||||
metadata.date = new Date(gitIsoDate)
|
||||
|
||||
return metadata;
|
||||
})
|
||||
.sort((a, b) => a.title.toLowerCase().localeCompare(b.title.toLowerCase()));
|
||||
const truncate = text =>
|
||||
|
||||
Reference in New Issue
Block a user