From 678253d0373ee31db0d63ad4cf983599719a1063 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Fri, 17 Sep 2021 20:35:31 -0400 Subject: [PATCH] Fix /games page not working --- WebHostLib/__init__.py | 2 +- WebHostLib/templates/gameInfo.html | 2 +- WebHostLib/templates/supportedGames.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/WebHostLib/__init__.py b/WebHostLib/__init__.py index 10006a29..2c749594 100644 --- a/WebHostLib/__init__.py +++ b/WebHostLib/__init__.py @@ -90,7 +90,7 @@ def player_settings(game): # Game Info Pages @app.route('/games//info/') -def game_page(game, lang): +def game_info(game, lang): return render_template('gameInfo.html', game=game, lang=lang) diff --git a/WebHostLib/templates/gameInfo.html b/WebHostLib/templates/gameInfo.html index ea69d742..9c475827 100644 --- a/WebHostLib/templates/gameInfo.html +++ b/WebHostLib/templates/gameInfo.html @@ -8,7 +8,7 @@ {% block body %} {% include 'header/grassHeader.html' %} -
+
{% endblock %} diff --git a/WebHostLib/templates/supportedGames.html b/WebHostLib/templates/supportedGames.html index 628d5370..af134a00 100644 --- a/WebHostLib/templates/supportedGames.html +++ b/WebHostLib/templates/supportedGames.html @@ -10,7 +10,7 @@

Currently Supported Games

{% for game, description in worlds.items() %} -

{{ game }}

+

{{ game }}

{{ description }}

{% endfor %}