Skip to content

Commit 66e7d98

Browse files
committed
add message when tool list is blank
1 parent 5a08f99 commit 66e7d98

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

WebHostLib/templates/tools.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@
3232
<div id="games" class="markdown">
3333
<h1>Tools</h1>
3434
<p>This is a list of tools that may be useful when using Archipelago.</p>
35+
{% if not worlds %}
36+
37+
<p>There are currently no tools to list on this page.</p>
38+
{% else %}
3539
<div class="js-only">
3640
<label for="game-search">Search for your tool below!</label><br />
3741
<div class="page-controls">
@@ -60,5 +64,6 @@ <h1>Tools</h1>
6064
{% endif %}
6165
</details>
6266
{% endfor %}
67+
{% endif %}
6368
</div>
6469
{% endblock %}

0 commit comments

Comments
 (0)