{%- macro polaroid(slot, caption_slot, slot_class) -%} {%- set img = input[slot] -%} {%- set cap = input[caption_slot] -%}
{%- if img and img.resolved_path %} {{ cap or '' }} {%- elif img and img.resolved_svg %}
{{ img.resolved_svg | safe }}
{%- endif %} {%- if cap %}
{{ cap }}
{%- endif %}
{%- endmacro -%}
{%- if input.eyebrow or input.title or input.subtitle %}
{%- if input.eyebrow %}
{{ input.eyebrow }}
{%- endif %} {%- if input.title %}

{{ input.title }}

{%- endif %} {%- if input.subtitle %}

{{ input.subtitle }}

{%- endif %}
{%- endif %}
{{ polaroid('photo_1', 'photo_1_caption', 'katib-polaroid-wall__slot-1') }} {{ polaroid('photo_2', 'photo_2_caption', 'katib-polaroid-wall__slot-2') }} {{ polaroid('photo_3', 'photo_3_caption', 'katib-polaroid-wall__slot-3') }} {{ polaroid('photo_4', 'photo_4_caption', 'katib-polaroid-wall__slot-4') }} {{ polaroid('photo_5', 'photo_5_caption', 'katib-polaroid-wall__slot-5') }} {{ polaroid('photo_6', 'photo_6_caption', 'katib-polaroid-wall__slot-6') }} {{ polaroid('photo_7', 'photo_7_caption', 'katib-polaroid-wall__slot-7') }} {%- if input.center_note %}
{{ input.center_note }}
{%- endif %}
{%- if input.source_attribution %}
{{ input.source_attribution }}
{%- endif %}