WebHost: use title-typical sorting for game titles (#883)

This commit is contained in:
Fabian Dill
2022-08-09 22:21:45 +02:00
committed by GitHub
parent debda5d111
commit f2e83c37e9
4 changed files with 16 additions and 2 deletions

View File

@@ -10,7 +10,8 @@
{% include 'header/oceanHeader.html' %}
<div id="games" class="markdown">
<h1>Currently Supported Games</h1>
{% for game_name, world in worlds.items() | sort(attribute=0) %}
{% for game_name in worlds | title_sorted %}
{% set world = worlds[game_name] %}
<h2>{{ game_name }}</h2>
<p>
{{ world.__doc__ | default("No description provided.", true) }}<br />