From c57b6b681243164801570282799b0f831923fdad Mon Sep 17 00:00:00 2001 From: bedroesb Date: Wed, 15 Jan 2025 11:13:31 +0100 Subject: [PATCH] matches 0 --- _includes/resource-table-all.html | 1 + 1 file changed, 1 insertion(+) diff --git a/_includes/resource-table-all.html b/_includes/resource-table-all.html index 88c0f31..f35f526 100644 --- a/_includes/resource-table-all.html +++ b/_includes/resource-table-all.html @@ -3,6 +3,7 @@ {%- else %} {%- assign tools = site.data.tool_and_resource_list | add_related_pages | sort_natural: "name" %} {%- endif %} +{%- assign tool_matches_total = 0 %} {%- assign country_pages = site.pages | where_exp: "item", "item.search_exclude != true" | where_exp:"item","item.national_resources != nil" %} {%- unless country_pages.size == 0 %} {%- assign tool_matches_total = 0 %}