{% if kind == 'project' %}{{ item.displayName }}{% if item.role %} - {{ item.role }}{% endif %}{{ period(item.startMonthYear, item.ongoing, item.endDate | default(none)) }}
{% elif kind == 'employment' %}{{ item.role }}{{ period(item.startDate, item.ongoing, item.endDate | default(none)) }}
{% elif kind == 'education' %}{{ item.program }}{{ period(item.startMonthYear, item.ongoing, item.endDate | default(none)) }}
{% elif kind == 'certification' %}{{ item.displayName }}{{ period(item.issuedDate, item.ongoing, item.endDate) }}
{% else %}{{ item.name }}{{ period(item.startMonthYear, item.ongoing, item.endDate | default(none)) }}{% endif %}
{% if kind == 'employment' %}{{ item.employer }}
{% endif %}
{% if kind == 'education' %}{{ item.institution }}
{% endif %}
{% if kind == 'certification' %}{{ item.issuingAuthority }}
{% endif %}
{% if kind == 'course' %}{{ item.institution }}
{% endif %}
{% if item.description | default(none) %}{{ item.description }}
{% endif %} {% if kind == 'project' and item.client | default(none) %}{{ item.client }}
{% endif %}
{% endmacro %}
{% set projects = data.projects | default([]) %}
{% set focus_projects = projects | selectattr('isFavourite') | list %}
{% set other_projects = projects | rejectattr('isFavourite') | list %}
{% set info = data['general-info'] %}
{% endif %}