From ea4a85ac7688741e0ad49d959a641e2a83cb2088 Mon Sep 17 00:00:00 2001 From: Ole Eskild Steensen Date: Thu, 21 Sep 2023 15:19:13 +0200 Subject: [PATCH] Nunjuck shouldn't render the markdown from notes --- .eleventy.js | 2 +- src/site/notes/notes.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.eleventy.js b/.eleventy.js index 4040be946..8f0ced3fb 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -494,7 +494,7 @@ module.exports = function (eleventyConfig) { }, templateFormats: ["njk", "md", "11ty.js"], htmlTemplateEngine: "njk", - markdownTemplateEngine: "njk", + markdownTemplateEngine: false, passthroughFileCopy: true, }; }; diff --git a/src/site/notes/notes.json b/src/site/notes/notes.json index dd1976e73..bd4a5983e 100644 --- a/src/site/notes/notes.json +++ b/src/site/notes/notes.json @@ -1,4 +1,4 @@ { "tags": "note", - "templateEngineOverride": "njk,md" -} \ No newline at end of file + "templateEngineOverride": "md" +}