{% load thumbnails %} {% load paniktags %} {% load staticfiles %}
{% if date != False %}
{{ episode.first_diffusion|date:"D"|slice:":2"}}
{{ episode.first_diffusion|date:"d" }}
{% if date != "daytime" %}
{{ episode.first_diffusion|date:"M y" }}
{% endif %}
{{ episode.first_diffusion|date:"H:i" }}
{% endif %}
{% if episode.main_sound and model != "inline"%}
{% audio sound=episode.main_sound %}
{% endif %} {% if class = "standalone" %}
{{ episode.emission.title }}
{% if episode.emission.categories %} {% for category in episode.emission.categories.all %} {% if forloop.counter > 1 %} - {% endif %}{{category}} {% endfor%} {% endif %}
{% endif %}
{{ episode.title }}
{% if model = "inline" %} {% if episode.subtitle %}
{{ episode.subtitle|truncatewords:20}}
{% elif episode.text %}
{{ episode.text|safe|striptags|truncatewords:20}}
{% endif %} {% else %} {% if episode.subtitle %}
{{ episode.subtitle|truncatewords:50 }}
{% elif episode.text %}
{{ episode.text|safe|truncatewords:50}}
{% endif %} {% endif %} {% if episode.main_sound and model = "inline"%}
{% audio sound=episode.main_sound %}
{% endif %}
{% if episode.serie or episode.auteur or episode.redif %}
{% if episode.serie %}
Serie
{{ serie }}
{% endif %} {% if episode.auteur %}
Auteur
{{ auteur }}
{% endif %} {% if episode.redif %}
Redifusion
{{ redif }}
{% endif %}
{% endif %} {% if episode.tagList %}
    {% for tag in episode.tagList %}
  • {% endfor %}
{% endif %}