mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-23 03:56:22 +00:00
9 lines
332 B
Text
9 lines
332 B
Text
- lat = metadata.value['lat']
|
|
- lng = metadata.value['lng']
|
|
%tr{ id: attribute }
|
|
%th= post_label_t(attribute, post: post)
|
|
%td
|
|
= link_to t('posts.attributes.geo.uri'), "geo:#{lat},#{lng}"
|
|
%br/
|
|
= link_to t('posts.attributes.geo.osm'),
|
|
"https://www.openstreetmap.org/?mlat=#{lat}&mlon=#{lng}#map=9/#{lat}/#{lng}"
|