diff --git a/src/routes/blog/index.json.js b/src/routes/blog/index.json.js index d530f7b..37c0657 100644 --- a/src/routes/blog/index.json.js +++ b/src/routes/blog/index.json.js @@ -17,6 +17,7 @@ function getAllPosts(filesPath) { // Builds data return { ...data, + slug: fileName.substring(0, fileName.length - 3), html, }; });