mirror of
https://github.com/searxng/searxng
synced 2024-01-01 18:24:07 +00:00
[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
Block a user