Skip to content

Commit

Permalink
add program
Browse files Browse the repository at this point in the history
  • Loading branch information
garrying committed Jun 23, 2024
1 parent 886c7cd commit 0f2e1cf
Show file tree
Hide file tree
Showing 9 changed files with 321 additions and 18 deletions.
40 changes: 26 additions & 14 deletions _includes/presenter-details.html
Original file line number Diff line number Diff line change
@@ -1,16 +1,28 @@
{%- if presenter.name -%}
<li>
{%- if presenter.link -%}
<a href="{{ presenter.link[0]['url'] }}" target="_blank" rel="noopener">
{%- endif -%}
<strong>{{ presenter.name }}</strong>
{%- if presenter.link -%}</a>{%- endif -%}
{%- if presenter.affiliation -%}, {{ presenter.affiliation}}{%-endif -%}

<p class="mt-0">
{%- for link in presenter.link -%}
<a href="{{link.url}}" target="_blank">{{link.text}}</a>{% unless forloop.last %}, {% endunless %}
{%- endfor -%}
</p>
</li>
<div class="presenter program-block content-width">
<a class="program-block-anchor" id="{{ presenter.presenterID }}"></a>
<div class="program-block-content p-1">
<header>
<h3 class="presenter-name heading">{{ presenter.name }}</h3>
{%- if presenter.affiliation -%}<h4>{{ presenter.affiliation}}</h4>{%-endif -%}
</header>
<div class="presenter-bio">
{%- if presenter.bio -%}<p>{{ presenter.bio }}</p>{%- endif -%}
{%- if presenter.link -%}
<ul class="bio-sm-list pl-0">
{%- for link in presenter.link -%}
<li class="bio-sm-list-item"><a href="{{link.url}}" target="_blank">{{link.text}}</a></li>
{%- endfor -%}
</ul>
{%- endif -%}
{%- if presenter.socialMedia -%}
<ul class="bio-sm-list pl-0">
{%- for link in presenter.socialMedia -%}
<li class="bio-sm-list-item"><a href="{{link.url}}" target="_blank">{{link.text}}</a></li>
{%- endfor -%}
</ul>
{%- endif -%}
</div>
</div>
</div>
{%- endif -%}
45 changes: 45 additions & 0 deletions _includes/session-details.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{%- if session.title -%}
<div class="session-detail program-block content-width">
<a class="program-block-anchor" {% unless session.skipProgramID %}id="{{ session.title | truncatewords: 6, '' | downcase | replace: ':', '' | replace: ' ', '-' }}"{% endunless %}></a>
<div class="program-block-content p-1">
<header class="session-header mb-1">
<h3 class="session-title heading font-display">{{ session.title }}</h3>
{%- if session.presenterID -%}
{% assign presenters = site.data.presenters[include.year] %}
{% assign presenterCount = session.presenterID.size %}
<ul class="ls-none pl-0">
{%- for presenterID in session.presenterID -%}
{%- for presenter in presenters -%}
{%- if presenter.presenterID == presenterID -%}
{% assign name = presenter.name %}
{%- endif -%}
{%- endfor -%}
{% assign presenterCount = presenterCount | minus:1 %}
<li><h4 class="session-presenter"><a href="#{{ presenterID }}">{{ name }}</a></h4></li>
{%- endfor -%}
</ul>
{%- endif -%}
</header>
{%- if session.images -%}
<div class="session-images mb-1">
{%- for image in session.images -%}
<img src="/images/exhibition/{{ image.src }}" {% if image.width %}style="width:{{ image.width }};"{% endif %} alt="{{ image.alt }}">
{%- endfor -%}
</div>
{%- endif -%}
{%- if session.description -%}
<div class="session-caption">
<p>{{ session.description | escape | newline_to_br | truncatewords: 75 }}{%- if session.descriptionLink -%}<span class="read-more"><a href="{{ session.descriptionLink }}" rel="noopener"> read more</a></span>{%- endif -%}</p>
</div>
{%- endif -%}
{%- if session.link or session.twitter or session.github -%}
<ul class="bio-sm-list">
{%- if session.link and session.linkDisplay -%}<li class="bio-sm-list-item"><a href="{{ session.link }}" target="_blank" rel="noopener">{% include icons/link.svg %}&nbsp;{{ session.linkDisplay }} </a></li>{%- endif -%}
{%- if session.twitter -%}<li class="bio-sm-list-item"><a href="https://twitter.com/{{ session.twitter }}" target="_blank" rel="noopener">{% include icons/twitter.svg %}&nbsp;@{{ session.twitter }}</a></li>{%- endif -%}
{%- if session.github -%}<li class="bio-sm-list-item"><a href="https://github.com/{{ session.github }}" target="_blank" rel="noopener">{% include icons/github.svg %}&nbsp;{{ session.github }}</a></li>{%- endif -%}
{%- if session.instagram -%}<li class="bio-sm-list-item"><a href="https://instagram.com/{{ session.instagram }}" target="_blank" rel="noopener">{% include icons/instagram.svg %}&nbsp;{{ session.instagram }}</a></li>{%- endif -%}
</ul>
{%- endif -%}
</div>
</div>
{%- endif -%}
4 changes: 4 additions & 0 deletions _includes/session-type.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{%- for session in site.data.sessions -%}
{%- assign sessionObject = session[1] | where: "sessionID", include.session-id | first -%}
{{ sessionObject.sessionType }}
{%- endfor -%}
26 changes: 26 additions & 0 deletions _includes/session.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{%- for session in site.data.sessions[include.year] -%}
{%- if include.session-id == session.sessionID -%}
<div class="session">
<header>
<h3 class="session-title font-display">
{{ session.title }}
</h3>
{% if session.presenterID %}
<h4 class="session-presenterID mt-05">
{% assign presenters = site.data.presenters[include.year] %}
{% assign presenterCount = session.presenterID.size %}
{%- for presenterID in session.presenterID -%}
{%- for presenter in presenters -%}
{%- if presenter.presenterID == presenterID -%}
{% assign name = presenter.name %}
{%- endif -%}
{%- endfor -%}
{% assign presenterCount = presenterCount | minus:1 %}
{{ name }}<br>
{%- endfor -%}
</h4>
{% endif %}
</header>
</div>
{%- endif -%}
{%- endfor -%}
2 changes: 1 addition & 1 deletion environment.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: page
order: 3
order: 6
title: "Environment"
---

Expand Down
2 changes: 1 addition & 1 deletion previous-years.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: page
order: 3
order: 7
title: "Previous years"
---
216 changes: 216 additions & 0 deletions program.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,216 @@
---
layout: page
order: 4
title: "Program"
titleDisplay: "Program"
---


## Saturday, July 27
{:.font-display}

<table class="schedule-table">
<thead>
<tr>
<th class="schedule-time"></th>
<th class="schedule-time"></th>
<th class="schedule-main sticky-top relative font-display">Main Room</th>
</tr>
</thead>
<tbody>
<tr>
<td>12</td>
<td>:00</td>
</tr>
<tr>
<td></td>
<td>:15</td>
</tr>
<tr>
<td></td>
<td>:30</td>
</tr>
<tr>
<td></td>
<td>:45</td>
</tr>
<tr>
<td>13</td>
<td>:00</td>
<td colspan="3" rowspan="4" class="session-block session-{% include session-type.html session-id=19990 %}">{% include session.html year=2019 session-id=19990 %}</td>
</tr>
<tr>
<td></td>
<td>:15</td>
</tr>
<tr>
<td></td>
<td>:30</td>
</tr>
<tr>
<td></td>
<td>:45</td>
</tr>
<tr>
<td>14</td>
<td>:00</td>
<td colspan="1" rowspan="4" class="session-block session-{% include session-type.html session-id=19036 %}">{% include session.html year=2019 session-id=19036 %}</td>
<td colspan="1" rowspan="16" class="session-block session-{% include session-type.html session-id=19018 %} overlap">{% include session.html year=2019 session-id=19018 %}[Note: Workshop materials cost $60CAD / $45USD]</td>
</tr>
<tr>
<td></td>
<td>:15</td>
</tr>
<tr>
<td></td>
<td>:30</td>
</tr>
<tr>
<td></td>
<td>:45</td>
</tr>
<tr>
<td>15</td>
<td>:00</td>
<td colspan="1" rowspan="4" class="session-block session-{% include session-type.html session-id=19038 %}">{% include session.html year=2019 session-id=19038 %}</td>
</tr>
<tr>
<td></td>
<td>:15</td>
</tr>
<tr>
<td></td>
<td>:30</td>
</tr>
<tr>
<td></td>
<td>:45</td>
</tr>
<tr>
<td>16</td>
<td>:00</td>
<td colspan="3" rowspan="2" class="session-block session-{% include session-type.html session-id=199901 %}">{% include session.html year=2019 session-id=199901 %}</td>
</tr>
<tr>
<td></td>
<td>:15</td>
</tr>
<tr>
<td></td>
<td>:30</td>
<td colspan="1" rowspan="2" class="session-block session-{% include session-type.html session-id=19017 %}">{% include session.html year=2019 session-id=19017 %}</td>
</tr>
<tr>
<td></td>
<td>:45</td>
</tr>
<tr>
<td>17</td>
<td>:00</td>
<td colspan="1" rowspan="2" class="session-block session-{% include session-type.html session-id=19013 %}">{% include session.html year=2019 session-id=19013 %}</td>
</tr>
<tr>
<td></td>
<td>:15</td>
</tr>
<tr>
<td></td>
<td>:30</td>
<td colspan="1" rowspan="2" class="session-block session-{% include session-type.html session-id=19034 %}">{% include session.html year=2019 session-id=19034 %}</td>
</tr>
<tr>
<td></td>
<td>:45</td>
</tr>
<tr>
<td>18</td>
<td>:00</td>
</tr>
<tr>
<td></td>
<td>:15</td>
</tr>
<tr>
<td></td>
<td>:30</td>
<td colspan="3" rowspan="4" class="session-block session-{% include session-type.html session-id=19994 %}">{% include session.html year=2019 session-id=19994 %}</td>
</tr>
<tr>
<td></td>
<td>:45</td>
</tr>
<tr>
<td>19</td>
<td>:00</td>
</tr>
<tr>
<td></td>
<td>:15</td>
</tr>
<tr>
<td></td>
<td>:30</td>
<td colspan="3" rowspan="10" class="session-block session-{% include session-type.html session-id=19993 %}"></td>
</tr>
<tr>
<td></td>
<td>:45</td>
</tr>
<tr>
<td>20</td>
<td>:00</td>
</tr>
<tr>
<td></td>
<td>:15</td>
</tr>
<tr>
<td></td>
<td>:30</td>
</tr>
<tr>
<td></td>
<td>:45</td>
</tr>
<tr>
<td>21</td>
<td>:00</td>
</tr>
<tr>
<td></td>
<td>:15</td>
</tr>
<tr>
<td></td>
<td>:30</td>
</tr>
<tr>
<td></td>
<td>:45</td>
</tr>
</tbody>
</table>

---

{:.font-display}

## Sessions

{% assign sortedSessions = site.data.sessions[2019] | sort: "title" %}

{% for session in sortedSessions %}
{%- unless session.sessionType == "orga" or session.sessionType == "keynote" or session.sessionType == "exhibit" or session.sessionType == "para" or session.sessionType == "lightning-talk" -%}
{% include session-details.html year=2019 %}
{%- endunless -%}
{% endfor %}

{:.font-display}

## Presenters

{% assign sortedPresenters = site.data.presenters[2024] | sort: "name" %}

{%- for presenter in sortedPresenters -%}
{% include presenter-details.html %}
{%- endfor -%}
2 changes: 1 addition & 1 deletion recorded-talks.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: page
order: 4
order: 8
title: "Recorded talks"
titleDisplay: "Recorded talks"
redirect_from:
Expand Down
2 changes: 1 addition & 1 deletion visiting.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: page
order: 2
order: 5
title: "Visiting Vancouver"
titleDisplay: "Visiting"
---
Expand Down

0 comments on commit 0f2e1cf

Please sign in to comment.