Skip to content

Commit

Permalink
Add links to slides in program for talks
Browse files Browse the repository at this point in the history
  • Loading branch information
splattater committed May 7, 2024
1 parent 057ed26 commit 7466d4e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion _includes/components/program_talk_l2.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
{%- assign show_date = include.show_date -%}
{%- assign title = talk | rdf_property: "dct:title", site.language -%}
{%- assign description = talk | rdf_property: "dct:description", site.language -%}
{%- assign download = talk | rdf_property: "schema:downloadUrl" -%}
{%- assign speaker = talk | rdf_property: "schema:performer" -%}

<li>
{% if show_date %}
{%- assign start = talk | rdf_property: "schema:startTime" | date: "%H:%M" -%}
Expand All @@ -11,6 +13,6 @@
{% endif %}
{%- unless speaker == Nil -%}{%- capture return_value -%}{%- include components/list_inline_pair.html sub=talk pred="schema:performer" -%}{%- endcapture -%}{%- endunless -%}
{%- if description -%}<details><summary style="cursor: zoom-in;">{%- endif -%}
{% unless speaker == Nil %}{{ return_value | strip }}: {% endunless %}{{ title }}
{% unless speaker == Nil %}{{ return_value | strip }}: {% endunless %}{{ title }}{%- if download -%}<a href="{{ download | relative_link }}"> (→pdf)</a>{%- endif -%}
{%- if description -%}</summary>{{ description | markdownify }}</details>{%- endif -%}
</li>

0 comments on commit 7466d4e

Please sign in to comment.