{% assign events = site.events | where: "uid", video.event -%} {% if video.event and video.event != '' -%} {% for e in events -%} {% if e.uid == video.event -%} {% assign event = e -%} {% endif -%} {% endfor -%} {% endif -%} {% if video.recording_date and recording_date.event != ''-%} {% assign recording_date = video.recording_date -%} {% elsif event -%} {% assign recording_date = event.eventdate -%} {% endif -%} {% assign whitespace = " " %} {% capture persons -%} {% for person in video.persons %}{{person}}{% unless forloop.last %}, {% endunless %} {% endfor -%} {% endcapture -%} {% capture persons2 -%}{% for person in video.persons %}{{person}}{% unless forloop.last %} und {% endunless %}{% endfor -%}{% endcapture -%} {% capture persons3 -%}{{whitespace}} von {{persons2}}{% endcapture -%} {% assign name_before_title = false -%} {% for conf in video.conferences -%} {% for c in site.conferences -%} {% if conf == c.acronym and c.name_before_title -%} {% assign name_before_title = true -%} {% endif -%} {% endfor -%} {% endfor -%} {% assign name_after_title = false -%} {% for conf in video.conferences -%} {% for c in site.conferences -%} {% if conf == c.acronym and c.name_after_title -%} {% assign name_after_title = true -%} {% endif -%} {% endfor -%} {% endfor -%} {% capture videotitle -%} {% if video.persons and name_before_title -%}{{persons| strip}}: {% endif -%}{{video.title| xml_escape }}{% for conf in video.conferences -%}{% for c in site.conferences -%}{% if conf == c.acronym -%}{% if c.ecki -%}{{whitespace}}[{{c.title| xml_escape}}]{% endif -%}{% endif -%}{% endfor -%}{% endfor -%}{% if video.persons and name_after_title %}{{whitespace}}{{persons3| strip}}{% endif -%} {% endcapture -%}
  • {%- assign realslug = video.url | split:'/' | last -%}

    {{ videotitle | markdownify | remove: '

    ' | remove: '

    ' | strip_newlines }}

    {{ recording_date | date: "%d.%m.%Y" }}
    {{ video.release_date | date: "%d.%m.%Y" }}
    {{ video.excerpt | markdownify | strip_html | truncatewords: 30 }}