module.exports = function(eleventyConfig) { // add my css file from the root folder eleventyConfig.addPassthroughCopy("bundle.css"); eleventyConfig.addPassthroughCopy("img"); // This line was to make sure my post.md weren't processed as Liquid, permitting this post here eleventyConfig.setTemplateFormats(["md", "njk", "html"]); eleventyConfig.addGlobalData("site.author", "unakt"); // Double with the .eleventyignore file, but just in case eleventyConfig.ignores.add("/_drafts/**"); eleventyConfig.ignores.add("/README.md"); eleventyConfig.addLayoutAlias("post", "post.njk"); eleventyConfig.addCollection("postlist", function(collectionApi) { return collectionApi.getFilteredByGlob("./posts/*.md"); }); return { // Ok idk this prevent markdown from being processed? markdownTemplateEngine: false, dir: { input: "./", output: "_site", layouts: "layouts", includes: "includes" } }; };