{% load humanize %} {% load i18n %} {% load highlight %} {% if item.get_embed_link %}
{{ item.title }} {% if not hide_category %}[{{ item.category.label }}]{% endif %} {% for res in item.external_resources.all %} {{ res.site_name.label }} {% endfor %}
{% else %}
cover
{% if request.GET.q %} {{ item.title | strip_season | highlight:request.GET.q }} {% else %} {{ item.title | strip_season }} {% endif %} {% if item.season_number %}第{{ item.season_number|apnumber }}季{% endif %} {% if item.year %}({{ item.year }}){% endif %} {% if not hide_category %}[{{ item.category.label }}]{% endif %} {% for res in item.external_resources.all %} {{ res.site_name.label }} {% endfor %}
{% comment %} {% for res in item.external_resources.all %} {{ res.site_name.label }} {% endfor %} {% endcomment %}
{% if item.subtitle %}{{ item.subtitle }}{% endif %} {% if item.orig_title %} {{ item.orig_title }} {% if item.season_number %}Season {{ item.season_number }}{% endif %} {% endif %}
{% if item.actor %} {% include '_people.html' with people=item.actor role='主演' max=2 %}
{% endif %} {% if item.other_title %} {% include '_people.html' with people=item.other_title role='又名' max=2 %}
{% endif %} {% if request.GET.q %} {{ item.brief | linebreaksbr | highlight:request.GET.q }} {% else %} {{ item.brief | linebreaksbr }} {% endif %}
{% if show_tags %}
{% for tag in item.tags %} {% if forloop.counter <= 5 %} {{ tag }} {% endif %} {% endfor %}
{% endif %}
{% endif %}