---
layout: page
---

{% assign conference = page %}
{% capture year %}{{ conference.slug }}{% endcapture %}
{% capture path_prefix %}_archive-sessions/{{ year }}/{% endcapture %}
{% assign days = site.archive-sessions
  | where_exp: 'session', 'session.relative_path contains path_prefix'
  | sort: 'beginning'
  | group_by_exp: 'session', 'session.beginning | date: "%A"' %}
{% assign posts = site.tags[year] | where: 'categories','news' | reverse %}

<div class="row">
  <div class="col-xs-12 col-lg-10 col-lg-push-1">
    <h1 class="text-center">
      SeaGL {{ year }}{% if conference.subtitle %}: “{{ conference.subtitle }}”{% endif %}

      <span class="subtitle">{{ conference.dates }}</span>
    </h1>

    {{ content }}

    <div class="row">
      {% for day in days %}
      <div class="col-xs-12 col-sm-6">
        <h2>{{ day.name }}</h2>

        <ol class="list-unstyled">
          {% for session in day.items %}
          <li style="margin-bottom: 0.5em;">
            <div>
              <a href="{{ session.url }}">{{ session.title }}</a>

              {% if session.keynote %}
              <span class="label label-default">Keynote</span>
              {% endif %}
            </div>

            {% for presenter in session.presenters %}
            <div>
              {{ presenter.name }}{% if presenter.affiliation %}<span class="text-muted">, {{ presenter.affiliation }}</span>{% endif %}
            </div>
            {% endfor %}
          </li>
          {% endfor %}
        </ol>
      </div>
      {% endfor %}
    </div>

    <h2>Sponsors</h2>

    {% include sponsor_wall.html heading="h3" size="medium" year=year %}

    {% unless posts == empty %}
    <h2>News</h2>

    <ul>
      {% for post in posts %}
      <li>
        <a href="{{ post.url }}">{{ post.title }}</a>
        <span class="text-muted">· <time datetime="{{ post.date | date: '%F' }}">{{ post.date | date_to_string: 'ordinal', 'US' }}</time></span>
      </li>
      {% endfor %}
    </ul>
    {% endunless %}

    <p style="margin-top: 2em;"><a href="/archive">« All archives</a></p>
  </div>
</div>
