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