ip2geo
Return geographic information associated with an IP address.
The input can be a textual or tuple IP address. The result is a map supplied by
the configured GeoIP database, or undefined when the address cannot be
located.
For example:
{% with "8.8.8.8"|ip2geo as geo %}
{{ geo.country.iso_code }}
{% endwith %}