Replace 'startDate' and 'endDate' with 'dates'

This commit is contained in:
TheThomaas 2025-05-04 16:55:08 +02:00
parent b5db2095f4
commit 045992946b
5 changed files with 6 additions and 9 deletions

View file

@ -3,8 +3,8 @@
{%- for elements in timeline -%}
{% assign data = elements.data %}
{% render 'partials/components/timeline-item',
start: data.startDate,
end: data.endDate,
start: data.dates.start,
end: data.dates.end,
link: data.link,
title: data.title,
location: data.location,

View file

@ -7,6 +7,4 @@ link: https://www.artionet.ch
dates:
start: 2021
end: 2022
startDate: 2021
endDate: 2022
---

View file

@ -7,6 +7,4 @@ link: https://www.artionet.ch
dates:
start: 2022
end: Present
startDate: 2022
endDate: 2024
---

View file

@ -6,6 +6,4 @@ location: Porrentruy
dates:
start: 2018
end: 2022
startDate: 2018
endDate: 2022
---

View file

@ -5,4 +5,7 @@ links:
- title: Voir sur Github
link: https://github.com
icon: simple-icons:github
---
---
* desc1
* desc2