From 80d36e08d16951ea07eff8bfab271770ab92d2ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= Date: Wed, 6 Mar 2019 14:50:22 +0100 Subject: [PATCH] shop: write 'tag:shop' for shop=yes --- shop.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/shop.json b/shop.json index 4108a13..7e0d285 100644 --- a/shop.json +++ b/shop.json @@ -31,7 +31,13 @@ " {% set current = const.shops[shop0] %}", "{% endif %}" ], - "description": "{{ tagTransList('shop', tags.shop) }}", + "description": [ + "{% if tags.shop == 'yes' %}", + " {{ keyTrans('shop') }}", + "{% else %}", + " {{ tagTransList('shop', tags.shop) }}", + "{% endif %}" + ], "markerSign": [ "{% set c = current.sign %}", "{% if c|slice(0, 4) == 'fas:' %}",