diff --git a/templates/random.html b/templates/random.html index 6b8f307..b372a5c 100644 --- a/templates/random.html +++ b/templates/random.html @@ -6,20 +6,33 @@ -

Geocode UK coordinates to Commons Category

- -

Random

+

Geocode coordinates to Commons Category

visit endpoint -| view in OSM

+| view in OSM + +{% if result.commons_cat %} +| Commons category +{% endif %} + +{% if result.wikidata %} + | {{ result.wikidata }} +{% endif %} + +| # + +

{{ result | pprint }}
+{% if result.commons_cat %}

({{ lat }}, {{ lon }}, {{result.commons_cat.title | pprint }}),

+{% endif %} {% for element in elements %} -
{{ element | pprint }}
+{% set tags = element.tags %} +
{{ element | pprint }}
{% endfor %}