From 7db9d45bdeb412a6d4df2317d49638d1e1f07888 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= Date: Sun, 13 Aug 2017 16:15:55 +0200 Subject: [PATCH] commonBody: better layout --- commonBody.html | 52 ++++++++++++++++++++++++++----------------------- gastro.json | 2 +- 2 files changed, 29 insertions(+), 25 deletions(-) diff --git a/commonBody.html b/commonBody.html index 52dc8c18..7044bc4f 100644 --- a/commonBody.html +++ b/commonBody.html @@ -1,35 +1,39 @@ -
- +
+ diff --git a/gastro.json b/gastro.json index 41f87a2b..88ac064f 100644 --- a/gastro.json +++ b/gastro.json @@ -21,7 +21,7 @@ }, "feature": { "markerSign": "{% if tags.amenity=='bar' %}🍸{% elseif tags.amenity=='biergarten'%}🍻{% elseif tags.amenity=='cafe' %}☕{% elseif tags.amenity=='fast_food' %}🍔{% elseif tags.amenity=='ice_cream' %}🍨{% elseif tags.amenity=='pub' %}🍺{% else %}🍴{% endif %}", - "body": "{{ tagTrans('amenity', tags.amenity) }}
{{ keyTrans('cuisine') }}: {{ tagTransList('cuisine', tags.cuisine)|default(trans('unknown')) }}", + "body": "\n{{ tagTrans('amenity', tags.amenity) }}\n\n", "description": "{{ tagTrans('amenity', tags.amenity) }}" } }