Skip to content

Commit

Permalink
fix: regions list is not display (#142)
Browse files Browse the repository at this point in the history
  • Loading branch information
QWRDA authored Sep 10, 2024
1 parent 619374b commit 257242b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/_en/resource/warning-info.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Weather warnings are not available for all cities, we will continue to expand th
</tr>
</thead>
<tbody>
{%- assign warning_regions = site.data.table.regions | where: "isWarning", true -%}
{%- assign warning_regions = site.data.table.regions | where: "isWarning", "TRUE" -%}
{%- assign name = "name-" | append: page.lang -%}
{% for item in warning_regions %}
<tr>
Expand Down
2 changes: 1 addition & 1 deletion docs/_zh/resource/warning-info.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ ref: res-warning
</tr>
</thead>
<tbody>
{%- assign warning_regions = site.data.table.regions | where: "isWarning", true -%}
{%- assign warning_regions = site.data.table.regions | where: "isWarning", "TRUE" -%}
{%- assign name = "name-" | append: page.lang -%}
{% for item in warning_regions %}
<tr>
Expand Down

0 comments on commit 257242b

Please sign in to comment.