Skip to content

Commit 2bbc511

Browse files
committed
fix for isle of man postcodes
1 parent 6134ff6 commit 2bbc511

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

findthatpostcode/templates/postcode.html.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
{% endcall %}
112112
{% endif %}
113113

114-
{% if stats.imd2025_rank is not none %}
114+
{% if stats.imd2025_rank is not none and stats.imd2025_total is not none %}
115115
{% call info_block("Index of multiple deprivation (2025)") %}
116116
<p><strong>{{ "{:,.0f}".format(stats.imd2025_rank) }}</strong> out of {{ "{:,.0f}".format(stats.imd2025_total) }}
117117
lower super output areas in

0 commit comments

Comments
 (0)