Skip to content

Latest commit

 

History

History
103 lines (86 loc) · 3.02 KB

lectures.md

File metadata and controls

103 lines (86 loc) · 3.02 KB
layout title active_tab
default
Lectures
lectures

{% assign anchor_created = false %} {% capture now %}{{'now' | date: '%s'}}{% endcapture %}

You can watch the lectures live via Zoom on Tuesdays and Thursdays 3-4:30pm Eastern or you can view recordings of the lecture a few hours after the live lectures finish.

The lecture schedule will be updated as the term progresses.

{% for lecture in site.data.lectures %}
<!-- Create a HTML anchor for the most recent lecture -->
{% capture lecture_date %}{{lecture.date | date: '%s'}}{% endcapture %}
{% assign lecture_date = lecture_date | plus: 0 %}
{% assign now = now | minus: 14400 %}

<tr
{% if anchor_created != true and lecture_date >= now %}
  {% assign anchor_created = true %}
  id="now" 
{% endif %}

{% if lecture.type %}
  {% if lecture.type and lecture.type == 'exam' %}
    class="info" 
  {% else if lecture.type and lecture.type == 'deadline' %}
    class="warning"
  {% else if lecture.type and lecture.type == 'no_lecture' %}
    class="success"
  {% endif %}
{% endif %}
>

<!-- End create a HTML anchor for the most recent lecture -->
  <td>{{ lecture.date | date: '%a, %b %-d, %Y' }}</td>
  <td>
     {{ lecture.title }} 


    {% if lecture.slides %}
      <a href="{{ lecture.slides }}">[slides]</a>
    {% endif %}


    {% if lecture.recording %}
      <a href="{{ lecture.recording }}">[video] </a>
    {% endif %}

    {% if lecture.speaker %}
      {% if lecture.speaker_url %}
        by <a href="{{ lecture.speaker_url }}">{{ lecture.speaker }}</a> 
      {% else %} 
      by {{ lecture.speaker }}
      {% endif %}
    {% endif %}

  </td>
  <td>
    {% if lecture.readings %} 
      {% for reading in lecture.readings %}
      {% if reading.url %}
          {% if reading.optional %}<b>Optional:</b> {% endif %}
          {% if reading.authors %}
          {{ reading.authors }}, 
          {% endif %}
          <a href="{{ reading.url }}">{{ reading.title }}</a> 
        <br />
      {% else %}
          {% if reading.optional %}<b>Optional</b> {% endif %}
          {% if reading.authors %}
          {{ reading.authors }}, 
          {% endif %}
         {{ reading.title }} 
        <br />
      {% endif %}
      {% endfor %}
    {% endif %}
  </td>
</tr>
{% endfor %}
Date Topic Recommended Readings