diff --git a/_includes/components/program_talk_l2.html b/_includes/components/program_talk_l2.html index 1242299b4..7b5832612 100644 --- a/_includes/components/program_talk_l2.html +++ b/_includes/components/program_talk_l2.html @@ -1,6 +1,7 @@ {%- assign talk = include.talk -%} {%- 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 speaker = talk | rdf_property: "schema:performer" -%} <li> {% if show_date %} @@ -8,5 +9,8 @@ {%- assign end = talk | rdf_property: "schema:endTime" | date: "%H:%M" -%} {{ start }}-{{ end }} {% endif %} - {% unless speaker == Nil %}{%- capture return_value -%}{%- include components/list_inline_pair.html sub=talk pred="schema:performer" -%}{%- endcapture -%}{{ return_value | strip }}: {% endunless %}{{ title }} + {%- 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 }} + {%- if description -%}</summary>{{ description | markdownify }}</details>{%- endif -%} </li>