<!DOCTYPE html>
<html>

  {% include head.html %}

  <body class="theme-{% if site.resume_theme %}{{ site.resume_theme }}{% endif %}">

    <div class="wrapper" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="telephone" content="{{ site.resume_contact_telephone }}"/>
      <meta itemprop="address" content="{{ site.resume_contact_address }}"/>

      <header class="page-header">

        <!-- You can turn off the avatar in _config.yml by setting to false -->
        {% if site.resume_avatar == 'true' %}
        <img src="images/me_square_sepia_small.jpg" alt="my photo" class="avatar no-print" itemprop="image">
        {% endif %}

        <!-- Your name is defined in the _config.yml file -->
        <h1 class="header-name" itemprop="name">{{ site.resume_name }}</h1>

        <!-- To display contact info here, change `display_header_contact_info` value in _config.yml to true -->
        {% if site.display_header_contact_info == 'true' %}
        <div class="header-contact-info">
          <p>{{ site.resume_header_contact_info }}</p>
        </div>
        {% endif %}

        <div class="title-bar no-print">

          <!-- Your title is also defined in the _config.yml file -->
          <h2 class="header-title" itemprop="jobTitle">{{ site.resume_title }}</h2>

          <!-- This is the markup for the icon links; moved out to an include because it's very verbose, and you shouldn't ever need to edit the markup (unless you want to re-order the icons); if you want to customize which links appear, define them in the _config.yml file -->
          {% include icon-links.html %}
        </div>

        <div class="executive-summary" itemprop="description">
          {{ site.resume_header_intro }}
        </div>

        {% if site.resume_looking_for_work == 'yes' %}
        <a href="mailto:{{ site.resume_contact_email }}" class="contact-button no-print" itemprop="email">Contact me</a>
        {% elsif site.resume_looking_for_work == 'no' %}
        <a class="contact-button not-looking no-print">I'm not looking for work right now.</a>
        {% else %}
        {% endif %}

      </header>

      {% if site.resume_section_education %}
      <!-- begin Education -->
      <section class="content-section">
        <header class="section-header">
          <h2>Education</h2>
        </header>

        {% for education in site.data.education %}
        <div class="resume-item" itemscope itemprop="alumniOf" itemtype="http://schema.org/CollegeOrUniversity">
          <h3 class="resume-item-title" itemprop="name">{{ education.degree }}</h3>
          <h4 class="resume-item-details group" itemprop="description">{{ education.uni }} &bull; {{ education.year }}</h4>
          <p class="resume-item-details award-title" style="font-size: 1rem" itemprop="description">{{ education.award }}</p>
          <p class="resume-item-copy" itemprop="description">
            <ul class="resume-item-list">
              {% for award in education.awards %}
              <li>{{ award.award }}</li>
              {% endfor %}
            </ul></h5>

          <p class="resume-item-copy" style="line-height: 1">{{ education.summary }}</p>
        </div>
        {% endfor %}
      </section>
      <!-- end Education -->
      {% endif %}

      {% if site.resume_section_experience %}
      <!-- begin Experience -->
      <section class="content-section">
        <header class="section-header">
          <h2>Experience</h2>
        </header>

        {% for job in site.data.experience %}
        <div class="resume-item" itemscope itemprop="worksFor" itemtype="http://schema.org/Organization">
          <h3 class="resume-item-title" itemprop="name">{{ job.company }}</h3>
          <h4 class="resume-item-details" itemprop="description">{{ job.position }} &bull; {{ job.duration }}</h4>
          <p class="resume-item-copy">{{ job.summary }}</p>
        </div><!-- end of resume-item -->
        {% endfor %}

      </section>
      <!-- end Experience -->
      {% endif %}

      {% if site.resume_section_publications %}
      <!-- begin Publications -->
      <section class="content-section">
        <header class="section-header">
          <h2>Publications</h2>
        </header>

        {% for publication in site.data.publications %}
        <div class="resume-item" itemscope itemtype="http://schema.org/ScholarlyArticle">
          <h3 class="resume-item-publication-title" itemprop="title">{% if publication.url %}<a href="{{ publication.url }}" itemprop="url">{{ publication.title }}</a>{% else %}{{ publication.title }}{% endif %}</h3>
          <h4 class="resume-item-subdetails" itemprop="description">{{ publication.authors }}</h4>
          <h4 class="resume-item-subdetails" itemprop="description"><i>{{ publication.journal }}</i> {{ publication.pages }} &bull; {{ publication.date }}</h4>
          <p>
            <details>
              <summary style="display: list-item">Click for abstract</summary>
                <p> {{ publication.abstract }} </p>
            </details>
          </p>
        </div>
        {% endfor %}

      </section>
      <!-- end Publicationss -->
      {% endif %}

      {% if site.resume_section_presentations %}
      <!-- begin Presentations -->
      <section class="content-section">

        <header class="section-header">
          <h2>Presentations</h2>
        </header>
        {% for presentation in site.data.presentations %}
        <div class="resume-item">
          <h4 class="resume-item-details">{{ presentation.title }}</h4>
          <p class="resume-item-copy">{{ presentation.conference }}</p>
          <p class="resume-item-copy" style="margin: 0 0 0">{{ presentation.location }} &bull; {{ presentation.date }}</p>
        </div>
        {% endfor %}

      </section>
      <!-- end Skills -->
      {% endif %}

      {% if site.resume_section_abstracts_posters %}
      <!-- begin Presentations -->
      <section class="content-section">

        <header class="section-header">
          <h2>Published Abstracts & Posters</h2>
        </header>
        {% for abstract_poster in site.data.abstracts_posters %}
        <div class="resume-item">
          <h4 class="resume-item-details">{{ abstract_poster.title }}</h4>
          <p class="resume-item-copy">{{ abstract_poster.conference }}</p>
          <p class="resume-item-copy" style="margin: 0 0 0">{{ abstract_poster.location }} &bull; {{ abstract_poster.date }}</p>
        </div>
        {% endfor %}

      </section>
      <!-- end Presentations -->
      {% endif %}

      {% if site.resume_section_grants %}
      <!-- begin Grants -->
      <section class="content-section">

        <header class="section-header">
          <h2>Grants, Honors, and Committees</h2>
        </header>
        {% for institution in site.data.grants %}
        <div class="resume-item">
          <h4 class="resume-item-details" itemprop="name">{{ institution.institution }}</h4>
          <ul class="resume-item-list">
          {% for name in institution.names %}
            <li>{{ name.name }}</li>
          {% endfor %}
        </ul>
        </div>
        {% endfor %}

      </section>
      <!-- end Grants -->
      {% endif %}

      {% if site.resume_section_skills %}
      <!-- begin Skills -->
        <section class="content-section">

          <header class="section-header">
            <h2>Skills</h2>
          </header>

          {% for skill in site.data.skills %}
          <h4 class="resume-item-details">{{ skill.name }}</h4>

          <div class="skills">
            <div class="level-bar">
              <div class="level-bar-inner" style=width:{{ skill.level }}>
              </div>
            </div><!--//level-bar-->
          </div><!--//skills-->
          {% endfor %}

        </section><!--//skills-section-->
      {% endif %}


      {% if site.resume_section_interests %}
      <!-- begin Interests -->
      <section class="content-section">

        <header class="section-header">
          <h2>Outside Interests</h2>
        </header>

        <div class="resume-item">
          <ul class="resume-item-list">
            {% for interest in site.data.interests %}
            <li>{{ interest.description }}</li>
            {% endfor %}
          </ul>
        </div>

      </section>
      <!-- end Interests -->
      {% endif %}

      {% if site.resume_section_links %}
      <!-- begin Links -->
      <section class="content-section">

        <header class="section-header">
          <h2>Additional Links</h2>
        </header>

        <div class="resume-item">
          <ul class="resume-item-list">
            {% for link in site.data.links %}
            <li><a href={{ link.url }} itemprop="url">{{ link.description }}</a></li>
            {% endfor %}
          </ul>
        </div>

      </section>
      <!-- end Links -->
      {% endif %}

      {% if site.resume_print_social_links %}
      <!-- begin Print Social Links -->
      <section class="content-section print-only">

        <header class="section-header">
          <h2>Social Links</h2>
        </header>

        <div class="resume-item">
        {% include print-social-links.html %}
        </div>

      </section>
      <!-- end Print Social Links -->
      {% endif %}

      <footer class="page-footer">
      </footer>

    </div>

  </body>

</html>
