diff --git a/eleventy.config.js b/eleventy.config.js index 6631dd5..4cb43cf 100644 --- a/eleventy.config.js +++ b/eleventy.config.js @@ -6,8 +6,8 @@ module.exports = (config) => { config.addPassthroughCopy('src/assets/css/**/*'); - config.addLayoutAlias('default', 'default.html'); - config.addLayoutAlias('post', 'post.html'); + config.addLayoutAlias('default', 'default.njk'); + config.addLayoutAlias('post', 'post.njk'); config.addCollection('posts', require('./lib/collections/posts')); diff --git a/src/404.html b/src/404.njk similarity index 100% rename from src/404.html rename to src/404.njk diff --git a/src/_layouts/default.html b/src/_layouts/default.njk similarity index 93% rename from src/_layouts/default.html rename to src/_layouts/default.njk index 5d334cd..67c27cd 100644 --- a/src/_layouts/default.html +++ b/src/_layouts/default.njk @@ -17,7 +17,7 @@