{# CV Personal Projects Section - collapsible project cards (accordion) Filters projects by projectType == "personal" (or unset) 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 %} {% set personalProjects = [] %} {% if cv and cv.projects %} {% for item in cv.projects %} {% if item.projectType == "personal" or not item.projectType %} {% set personalProjects = (personalProjects.push(item), personalProjects) %} {% endif %} {% endfor %} {% endif %} {% if personalProjects.length %}

{{ sectionConfig.title or "Personal Projects" }}

{% for item in personalProjects | head(maxItems) %} {% set ci = loop.index0 % 8 %}
{# 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 %}