{% extends "layouts/" + render_mode + ".html" %}
{% block content %}
{%- set displayed = [] %}
{% if result %}
{%- set theme_colors = theme_settings().colors %}
{%- if result.search_tag_ids %}
{%- set tag = config.tags[result.search_tag_ids[0]] %}
{%- if tag.type != 'inbox' %}
{%- endif %}
{% for tid in result.search_tag_ids %}
{{- config.tags[tid].name }}{% if not loop.last %}: {% endif %}
{%- endfor %}
{%- endif %}
{%- for previous_mid, this_mid, next_mid in result.thread_ids|with_context %}
{%- set mid = result.view_pairs.get(this_mid, this_mid) %}
{%- set metadata = result.data.metadata[mid] %}
{%- for bp in (metadata.body.parts or []) %}
{%- set bp = body_part_metadata(bp) %}
{%- if bp.pixels and bp.pixels > 128000 %}
{%- do displayed.append(mid) %}
{% endif %}
{%- endfor %}
{%- endfor %}
{%- set prev_more_next_url = "/search/photos.html" %}
{%- include("search/prev_more_next.html") %}
{%- endif %}
{%- if not displayed %}