{% extends "bucket/templates/base.html" %} {% block content %} {% import 'bucket/templates/main/meta/_macros.html' as macros %}
{% if not results %}

No results!

{% endif %} {% for result in results %}
{{ result.meta_imdb.title }} ({{ result.meta_imdb.year }})

{% set plot = result.meta_imdb.plot[:result.meta_imdb.plot.find("BY:")] %} {{ plot[:500] }} {% if plot|length > 500 %} [...] {% endif %}

Director: {{ result.meta_imdb.director }}
Actors: {{ macros.actors_link(result.meta_imdb.actors) }}

{% if loop.index % 3 == 0 %}
{% endif %} {% endfor %}
{% endblock %}