mirror of https://github.com/searxng/searxng.git
[fix][template][oscar] print ',' only if postcode is found
This commit is contained in:
parent
c0fc248213
commit
46dd502592
|
@ -20,8 +20,8 @@
|
|||
</span><br/>
|
||||
{% endif %}
|
||||
{% if result.address.locality %}
|
||||
<span itemprop="addressLocality">{{ result.address.locality }}</span>,
|
||||
{% if result.address.postcode %} <span itemprop="postalCode">{{ result.address.postcode }}</span>{% endif %}
|
||||
<span itemprop="addressLocality">{{ result.address.locality }}</span>
|
||||
{% if result.address.postcode %}, <span itemprop="postalCode">{{ result.address.postcode }}</span>{% endif %}
|
||||
<br/>
|
||||
{% endif %}
|
||||
{% if result.address.country %}
|
||||
|
|
Loading…
Reference in New Issue