fix: broken index.md njk loop
This commit is contained in:
parent
bcb88522c1
commit
6a915bd3dd
|
@ -45,6 +45,7 @@ module.exports = function (eleventyConfig) {
|
||||||
})
|
})
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
markdownTemplateEngine: 'njk',
|
||||||
passthroughFileCopy: true,
|
passthroughFileCopy: true,
|
||||||
dir: {
|
dir: {
|
||||||
includes: '_includes',
|
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"}
|
# 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 -%}
|
||||||
|
|
Reference in a new issue