{% comment %} This module displays a nice card for the given video. It includes the video's thumbnail, title, release-date, short description (excerpt) as well as links to YouTube and the internal video page. Parameters: - video Video The video to display. {% endcomment %}
{% comment %} Use right link based on the video's date. {% endcomment %} {% if include.video.date <= site.time %} {% else %} {% endif %} {% comment %} Video thumbnail. {% endcomment %}
{% comment %} The video badge (with its number). {% endcomment %} {% include 1-tools/series-for-video.html video=video %} #{% if out_series.series_number%}{{ out_series.series_number }}.{% endif %}{{ include.video.video_number }}
{% comment %} Video title. {% endcomment %}

{{ include.video.title | xml_escape }}

{% comment %} Release date. {% endcomment %} {% if include.video.date > site.time %} {{ include.video.date | date: '%d %b %Y - %H:%M %Z' }} {% else %} {{ include.video.date | date_to_string }} {% endif %}
{% comment %} Short description/excerpt. {% endcomment %}
{{ include.video.excerpt }}
{% comment %} CTAs (link to YouTube and internal video page or livestream). {% endcomment %}
{% if include.video.date > site.time %} Tune in Live: {{ include.video.title | xml_escape }} {% else %} Watch on YT: {{ include.video.title | xml_escape }} To the {{ include.video.video_type_short | default: include.video.video_type }}: {{ include.video.title | xml_escape }} {% endif %}