mirror of
https://github.com/BradNut/sapper-lut-site
synced 2025-09-08 17:40:34 +00:00
adds slug to listing
This commit is contained in:
parent
42a66b5801
commit
777f148e08
1 changed files with 1 additions and 0 deletions
|
|
@ -17,6 +17,7 @@ function getAllPosts(filesPath) {
|
||||||
// Builds data
|
// Builds data
|
||||||
return {
|
return {
|
||||||
...data,
|
...data,
|
||||||
|
slug: fileName.substring(0, fileName.length - 3),
|
||||||
html,
|
html,
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue