Skip to content

Commit da6178b

Browse files
committed
:nail_polish: Adds the presenter name to youtube speaker template
1 parent 67402fe commit da6178b

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/youtube-talks.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,14 @@ <h1 class="text-center pageheading">{{ title }}</h1>
2828
<div class="flex items-center justify-between gap-2 mx-2">
2929
<h4 class="flex-grow mr-2">
3030
<span>{{ day[0] | formatDateTime: "LLL d " }}{{ slot.start | formatDateTime: "h:mm aaa" }} EDT -</span>
31-
<span id="copy-{{ session.title|slugify }}-title">{{ session.title }}</span>
31+
<span id="copy-{{ session.title|slugify }}-title">
32+
{{ session.title }} with
33+
{% for presenter_slug in session.presenter_slugs %}
34+
{% assign presenter = collections.presenters | find:presenter_slug %}
35+
{% if not forloop.first %} and {% endif %}
36+
{{ presenter.data.name }}
37+
{% endfor %}
38+
</span>
3239
</h4>
3340
{% if post.video_url %}
3441
<div class="btn bg-blue-200 border-solid border-2 border-grey-800 rounded-lg px-2 py-1 whitespace-nowrap" >

0 commit comments

Comments
 (0)