adds slug to listing

This commit is contained in:
Bradley Shellnut 2021-01-26 13:52:31 -08:00
parent 42a66b5801
commit 777f148e08

View file

@ -17,6 +17,7 @@ function getAllPosts(filesPath) {
// Builds data // Builds data
return { return {
...data, ...data,
slug: fileName.substring(0, fileName.length - 3),
html, html,
}; };
}); });