From 45b42c67fe135818e04387ed12d2d60fa5ac5213 Mon Sep 17 00:00:00 2001 From: Ricardo Date: Mon, 9 Feb 2026 12:11:22 +0100 Subject: [PATCH] feat: add date display to CV projects and education templates Projects now show startDate/endDate range. Education supports both startDate/endDate (new) and year (backward compat) display. Co-Authored-By: Claude Opus 4.6 --- _includes/components/sections/cv-education.njk | 3 ++- _includes/components/sections/cv-projects.njk | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/_includes/components/sections/cv-education.njk b/_includes/components/sections/cv-education.njk index 2dd8156..ccc5a16 100644 --- a/_includes/components/sections/cv-education.njk +++ b/_includes/components/sections/cv-education.njk @@ -18,7 +18,8 @@

{{ item.degree }}

- {{ item.institution }}{% if item.location %} · {{ item.location }}{% endif %}{% if item.year %} · {{ item.year }}{% endif %} + {{ item.institution }}{% if item.location %} · {{ item.location }}{% endif %} + {% if item.startDate %} · {{ item.startDate }}{% if item.endDate %} – {{ item.endDate }}{% else %} – Present{% endif %}{% elif item.year %} · {{ item.year }}{% endif %}

{% if item.description %}

{{ item.description }}

diff --git a/_includes/components/sections/cv-projects.njk b/_includes/components/sections/cv-projects.njk index 05c852f..e364847 100644 --- a/_includes/components/sections/cv-projects.njk +++ b/_includes/components/sections/cv-projects.njk @@ -35,6 +35,12 @@ {% endif %}
+ {% if item.startDate %} +

+ {{ item.startDate }}{% if item.endDate %} – {{ item.endDate }}{% else %} – Present{% endif %} +

+ {% endif %} + {% if item.description %}

{{ item.description }}

{% endif %}