diff --git a/gastro.json b/gastro.json index 028f8b35..369ff4c5 100644 --- a/gastro.json +++ b/gastro.json @@ -30,6 +30,18 @@ " {{ keyTrans('cuisine') }}:", " {{ tagTransList('cuisine', tags.cuisine)|default(trans('unknown')) }}", " ", + " {% set diets = tagsPrefix(tags, 'diet:') %}", + " {% if diets %}", + "
  • ", + " ", + " {{ keyTrans('diet') }}:", + " ", + " {% for kv, k in diets %}", + " {% set v = tags[k] %}", + " {% if v == 'no' %}✘ {% elseif v == 'only' %}❗{% else %}✔{% endif %}{{ keyTrans(k) }}", + " {% endfor %}", + "
  • ", + " {% endif %}", "" ], "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 %}"