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 <noreply@anthropic.com>
This commit is contained in:
Ricardo
2026-02-09 12:11:22 +01:00
parent 7004dbc4f1
commit 45b42c67fe
2 changed files with 8 additions and 1 deletions

View File

@@ -35,6 +35,12 @@
{% endif %}
</div>
{% if item.startDate %}
<p class="text-xs text-surface-500 mb-1">
{{ item.startDate }}{% if item.endDate %} {{ item.endDate }}{% else %} Present{% endif %}
</p>
{% endif %}
{% if item.description %}
<p class="text-sm text-surface-600 dark:text-surface-400 mb-2">{{ item.description }}</p>
{% endif %}