{% assign resume = site.data.resume.resume_versions | find: "active", true | first %}

{{ resume.name }}

{% for section in resume.sections %}

{{ section.section_name }}

{% case section.section_name %} {% when "Contact details" %}
{{ section.phone }} | {{ section.email }} | {{ section.linkedin }}
{% when "Skills" %} {% unless section.hard == null %} {% endunless %} {% unless section.soft == null %} {% endunless %} {% when "Experience" %} {% for experience in section.experiences | where: 'relevant', true %}

{{ experience.company }}

{% for position in experience.positions | where: 'relevant', true %}
{{ position.title }}
{% unless position.summary == null %}

{{ position.summary | newline_to_br }}

{% endunless %} {% unless position.achievements == null %}
    {% for achievement in position.achievements %}
  • {{ achievement }}
  • {% endfor %}
{% endunless %}
{% endfor %}
{% endfor %} {% when "Education" %} {% when "Awards" %} {% endcase %}
{% endfor %} {% comment %}
{{ site.data.resume.contact.name }} |
{% endcomment %}
{% comment %}

Experience

{% for experience in site.data.resume.experiences %}

{{ experience.company }} | {{ experience.company }}

{% for position in experience.positions %}

{{ postion.title }} | {{ postion.date_start | date: "%b %Y" }} - {{ postion.date_end | default: "Current role" | date: "%b %Y" }}

{{ position.summary }}

    {% for achievement in position.achievements %}
  • {{ achievement }}
  • {% endfor %}
{% endfor %}
{% endfor %}
{% endcomment %}