From 6a915bd3dd1391ecbe09b3f6cc01a79ef3459689 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laure=CE=B7t?= Date: Sat, 22 Jan 2022 09:42:17 +0100 Subject: [PATCH] fix: broken index.md njk loop --- .eleventy.js | 1 + src/index.md | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.eleventy.js b/.eleventy.js index 10a9c2d..587d4ea 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -45,6 +45,7 @@ module.exports = function (eleventyConfig) { }) return { + markdownTemplateEngine: 'njk', passthroughFileCopy: true, dir: { includes: '_includes', diff --git a/src/index.md b/src/index.md index ed7b064..61c46ca 100644 --- a/src/index.md +++ b/src/index.md @@ -16,10 +16,10 @@ Hi, my name's Laurent Fainsin, and I'm currently an M1 [engineering](https://www # ls projects {data-chaffle="en"} -{% for project in resumes.en.personnal_projects.list %} +{% for key, project in resumes.en.personnal_projects.list %}
-

{{ project.title }}

+

{{ key }}

{{ project.description }}