Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
bedroesb committed Jan 15, 2025
1 parent 1bc737e commit c6c5990
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions _includes/resource-table-all.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@
{%- for country_page in country_pages %}
{%- if include.tag %}
{%- assign tool_matches = country_page.national_resources | where_exp:"resource","resource.related_pages != nil" | where: query, include.tag %}
{%- if tool_matches %}
{%- unless tool_matches.size == 0 %}
{%- assign tool_matches_total = tool_matches_total | plus: tool_matches.size %}
{%- endif %}
{%- endunless %}
{%- else %}
{%- assign tool_matches_total = tool_matches_total | plus: country_page.national_resources.size %}
{%- endif %}
{%- endfor %}
{%- endunless %}
Expand Down

0 comments on commit c6c5990

Please sign in to comment.