{# Section partial: Contact Information #} {# Parameters: - contact_info: dict with enabled, title, email, phone, address, hours, map_embed_url - lang: Current language code - default_lang: Fallback language #} {% macro render_contact_info(contact_info, lang, default_lang) %} {% if contact_info and contact_info.enabled %}
{% set title = contact_info.title.translations.get(lang) or contact_info.title.translations.get(default_lang) or 'Contact' %}

{{ title }}

{% if contact_info.phone %} {% endif %} {% if contact_info.email %} {% endif %} {% if contact_info.address %}
📍

Address

{{ contact_info.address }}

{% endif %}
{% if contact_info.hours %}

Hours: {{ contact_info.hours }}

{% endif %}
{% endif %} {% endmacro %}