mirror of
https://codeberg.org/slatian/service.echoip-slatecave.git
synced 2024-12-26 19:58:20 +01:00
Fixed map link in text version
This commit is contained in:
parent
65306fe05a
commit
574fe77717
@ -48,7 +48,7 @@
|
||||
{% if r.location.coordinates %}
|
||||
### Coordinates
|
||||
lat: {{r.location.coordinates.lat}}, lon: {{r.location.coordinates.lon}}
|
||||
=> {{ links::map_link(lat=r.location.coordinates.lat, lon=r.location.coordinates.lon)}}">
|
||||
=> {{ links::map_link(lat=r.location.coordinates.lat, lon=r.location.coordinates.lon)}}
|
||||
{% endif %}
|
||||
|
||||
The GeopIP and ASN information is provided by the GeoLite2 database created by MaxMind.
|
||||
|
@ -31,6 +31,6 @@
|
||||
</ul>
|
||||
{% endmacro asn_links %}
|
||||
|
||||
{% macro map_link(lat, lon) %}
|
||||
{% 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 %}
|
||||
{%- endmacro map_link %}
|
||||
|
Loading…
Reference in New Issue
Block a user