{# The embedded map, provider decided by configuration. Rendered by the contact.map hook with: cfg : get_config("map") -> provider / query / lat / lng / zoom / address google: a keyless place-search embed, the same one the classic WordPress sites use. openstreetmap: a keyless marker embed by coordinates. Both are plain iframes, so the page stays static and no script runs until the reader scrolls the frame into view (lazy loading). #}
{% if cfg.provider == 'openstreetmap' and cfg.lat and cfg.lng %} {% set lat = cfg.lat %}{% set lng = cfg.lng %} {% else %} {% endif %} {% if cfg.address %}

{{ cfg.address }}

{% endif %}