{# CV Projects Section - collapsible project cards (accordion) Data fetched from /cv/data.json via homepage plugin #} {% set sectionConfig = section.config or {} %} {% set maxItems = sectionConfig.maxItems or 10 %} {% set showTechnologies = sectionConfig.showTechnologies if sectionConfig.showTechnologies is defined else true %} {% if cv and cv.projects and cv.projects.length %}

{{ sectionConfig.title or "Projects" }}

{% for item in cv.projects | head(maxItems) %}
{# Summary row — always visible, clickable #} {# Detail section — collapsible #}
{% if item.startDate %}

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

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

{{ item.description }}

{% endif %} {% if showTechnologies and item.technologies and item.technologies.length %}
{% for tech in item.technologies %} {{ tech }} {% endfor %}
{% endif %}
{% endfor %}
{% endif %}