diff --git a/WebHostLib/__init__.py b/WebHostLib/__init__.py index 2ebfe11c..b13a0961 100644 --- a/WebHostLib/__init__.py +++ b/WebHostLib/__init__.py @@ -207,6 +207,15 @@ def get_datapackge(): return Response(json.dumps(network_data_package, indent=4), mimetype="text/plain") +@app.route('/sitemap') +def get_sitemap(): + available_games = [] + for game, world in AutoWorldRegister.world_types.items(): + if not world.hidden: + available_games.append(game) + return render_template("siteMap.html", games=available_games) + + from WebHostLib.customserver import run_server_process from . import tracker, upload, landing, check, generate, downloads, api # to trigger app routing picking up on it diff --git a/WebHostLib/templates/check.html b/WebHostLib/templates/check.html index d21f487f..64f19b0f 100644 --- a/WebHostLib/templates/check.html +++ b/WebHostLib/templates/check.html @@ -8,7 +8,7 @@ {% endblock %} {% block body %} - {% include 'header/oceanHeader.html' %} + {% include 'header/oceanIslandHeader.html' %}