diff options
Diffstat (limited to 'src/post/post.11tydata.js')
-rw-r--r-- | src/post/post.11tydata.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/post/post.11tydata.js b/src/post/post.11tydata.js index 68f56d2..6ae489a 100644 --- a/src/post/post.11tydata.js +++ b/src/post/post.11tydata.js @@ -1,8 +1,8 @@ -const slugify = require("@sindresorhus/slugify") +const slugify = require("@sindresorhus/slugify"); module.exports = () => ({ - layout: "post.njk", - eleventyComputed: { - permalink: data => `/posts/${slugify(data.title)}/` - } -})
\ No newline at end of file + layout: "post", + eleventyComputed: { + permalink: data => `/posts/${slugify(data.title)}/` + } +}); |