fix: broken index.md njk loop
This commit is contained in:
parent
bcb88522c1
commit
6a915bd3dd
|
@ -45,6 +45,7 @@ module.exports = function (eleventyConfig) {
|
|||
})
|
||||
|
||||
return {
|
||||
markdownTemplateEngine: 'njk',
|
||||
passthroughFileCopy: true,
|
||||
dir: {
|
||||
includes: '_includes',
|
||||
|
|
|
@ -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 %}
|
||||
|
||||
<section>
|
||||
<h3>{{ project.title }}</h3>
|
||||
<h3>{{ key }}</h3>
|
||||
<p>{{ project.description }}</p>
|
||||
<div class="project-links">
|
||||
{%- if project.pdf -%}
|
||||
|
|
Reference in a new issue