fix: broken index.md njk loop

This commit is contained in:
Laureηt 2022-01-22 09:42:17 +01:00
parent bcb88522c1
commit 6a915bd3dd
No known key found for this signature in database
GPG key ID: D88C6B294FD40994
2 changed files with 3 additions and 2 deletions

View file

@ -45,6 +45,7 @@ module.exports = function (eleventyConfig) {
}) })
return { return {
markdownTemplateEngine: 'njk',
passthroughFileCopy: true, passthroughFileCopy: true,
dir: { dir: {
includes: '_includes', includes: '_includes',

View file

@ -16,10 +16,10 @@ Hi, my name's Laurent Fainsin, and I'm currently an M1 [engineering](https://www
# ls projects {data-chaffle="en"} # ls projects {data-chaffle="en"}
{% for project in resumes.en.personnal_projects.list %} {% for key, project in resumes.en.personnal_projects.list %}
<section> <section>
<h3>{{ project.title }}</h3> <h3>{{ key }}</h3>
<p>{{ project.description }}</p> <p>{{ project.description }}</p>
<div class="project-links"> <div class="project-links">
{%- if project.pdf -%} {%- if project.pdf -%}