diff --git a/WebHost.py b/WebHost.py index 6ccb3b5b..0d557b61 100644 --- a/WebHost.py +++ b/WebHost.py @@ -38,7 +38,7 @@ def create_ordered_tutorials_file(): import json with open(os.path.join("WebHostLib", "static", "assets", "tutorial", "tutorials.json")) as source: data = json.load(source) - data = sorted(data, key=lambda entry: entry["gameTitle"]) + data = sorted(data, key=lambda entry: entry["gameTitle"].lower()) with open(os.path.join("WebHostLib", "static", "generated", "tutorials.json"), "w") as target: json.dump(data, target) diff --git a/WebHostLib/static/assets/tutorial/SMZ3/multiworld_en.md b/WebHostLib/static/assets/tutorial/SMZ3/multiworld_en.md index 7fef4af0..5424ceb9 100644 --- a/WebHostLib/static/assets/tutorial/SMZ3/multiworld_en.md +++ b/WebHostLib/static/assets/tutorial/SMZ3/multiworld_en.md @@ -1,4 +1,4 @@ -# Super Metroid Setup Guide +# SMZ3 Setup Guide ## Required Software diff --git a/WebHostLib/static/assets/tutorial/tutorials.json b/WebHostLib/static/assets/tutorial/tutorials.json index 1b52d5f9..35d10ec8 100644 --- a/WebHostLib/static/assets/tutorial/tutorials.json +++ b/WebHostLib/static/assets/tutorial/tutorials.json @@ -356,8 +356,8 @@ "files": [ { "language": "English", - "filename": "smz3/multiworld_en.md", - "link": "smz3/multiworld/en", + "filename": "SMZ3/multiworld_en.md", + "link": "SMZ3/multiworld/en", "authors": [ "lordlou" ] diff --git a/WebHostLib/templates/supportedGames.html b/WebHostLib/templates/supportedGames.html index fb5c0ab1..c87b5919 100644 --- a/WebHostLib/templates/supportedGames.html +++ b/WebHostLib/templates/supportedGames.html @@ -10,7 +10,7 @@ {% include 'header/oceanHeader.html' %}

Currently Supported Games

- {% for game_name, world in worlds.items() | sort %} + {% for game_name, world in worlds.items() | sort(attribute=0) %}

{{ game_name }}

{{ world.__doc__ | default("No description provided.", true) }}