diff options
Diffstat (limited to 'src/post/post.11tydata.js')
-rw-r--r-- | src/post/post.11tydata.js | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/post/post.11tydata.js b/src/post/post.11tydata.js deleted file mode 100644 index 6ae489a..0000000 --- a/src/post/post.11tydata.js +++ /dev/null @@ -1,8 +0,0 @@ -const slugify = require("@sindresorhus/slugify"); - -module.exports = () => ({ - layout: "post", - eleventyComputed: { - permalink: data => `/posts/${slugify(data.title)}/` - } -}); |