{% macro ip_address_links(address) %}

Look up {{address}}

{% endmacro ip_address_links %} {% macro domain_name_links(name) %}

Look up {{name}}

{% endmacro domain_name_links %} {% macro asn_links(asn, org_name="") %}

Look up AS{{asn}}{% if org_name%} ({{org_name}}){% endif %} …

{% endmacro asn_links %} {% macro map_link(lat, lon) %} https://www.openstreetmap.org/export/embed.html?bbox={{lon-0.03}}%2C{{lat-0.03}}%2C{{lon+0.03}}%2C{{lat+0.03}}&layer=mapnik&marker={{lat}}%2C{{lon}} {% endmacro map_link %}