{% extends "base.html" %} {% macro title_grid(items, section_name) -%}
{% for title in items %}{{ title.title }} poster{{ title.title }}{{ title.year }}{% endfor %}
{%- endmacro %} {% block content %}

IMDb discovery

{{ browse_title }}

{{ browse_deck }}

{% if page_type == 'calendar' %}
{% for group in calendar_groups %}

{{ group.year }}

{% endfor %}
{% elif page_type == 'news' %}

{{ browse_title }} desk

{% for item in news_items %}{% endfor %}
{% elif page_type == 'editorial-picks' %}

{{ browse_title }} collection

Titles selected from the included directory for this destination.

{{ title_grid(collection_titles, page_key) }}
{% elif page_type == 'awards' %}

Titles in awards coverage

Explore title entries; no live nominations or results are claimed.

{{ title_grid(collection_titles, page_key) }}
{% elif page_type == 'events' %}

Event guide titles

Directory entries connected to this guide; schedules and live results are not shown.

{{ title_grid(collection_titles, page_key) }}
{% elif page_type == 'people-chart' %}
    {% for person in people %}
  1. {{ person.name }}{{ loop.index }}. {{ person.name }}{{ person.roles }}Known for {{ person.known_for }}
  2. {% endfor %}
{% elif page_type == 'genres' %}
{% for genre in genre_sections %}

{{ genre.name }}

{% endfor %}
{% elif page_type == 'gallery' %} {% elif page_type == 'originals' %}
{% for video in videos %}{% endfor %}
{% elif page_type == 'tv-discovery' %}

Series in the directory

{{ title_grid(series, 'series') }}
{% elif page_type == 'movie-discovery' %}

Indian films in the directory

{{ title_grid(collection_titles, 'india') }}
{% elif page_type == 'title-search' %}

Search the included directory

No podcast-series entries are represented in the included 338-title directory.

{% elif page_type == 'product-discovery' %}

Try IMDb features

{% for title, description, href in product_cards %}{{ title }}{{ description }}{% endfor %}
{% elif page_type == 'polls' %}

Question

Which top-rated film would you explore next?

Choose a title to open its directory page. No vote is recorded.

{% for label, href in poll_choices %}{{ label }}{% endfor %}
{% elif page_type == 'site-index' %}
{% for group_title, links in site_groups %}

{{ group_title }}

{% endfor %}
{% endif %}
{% endblock %}