Frontmatter getter for slug

This commit is contained in:
Will Boyd
2024-02-25 08:48:56 -05:00
parent 5f2053c5b4
commit 54af4aec22
+4
View File
@@ -0,0 +1,4 @@
// get slug, previously set on post.meta
module.exports = (post) => {
return post.meta.slug;
};