mirror of
https://github.com/svemagie/blog-eleventy-indiekit.git
synced 2026-04-02 16:44:56 +02:00
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:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user