diff --git a/WebHostLib/static/styles/supportedGames.css b/WebHostLib/static/styles/supportedGames.css index ab12f32071..9458437c43 100644 --- a/WebHostLib/static/styles/supportedGames.css +++ b/WebHostLib/static/styles/supportedGames.css @@ -42,3 +42,7 @@ #games .page-controls button{ margin-left: 0.5rem; } + +#games .author-label{ + margin-top: 0.5rem; +} diff --git a/WebHostLib/templates/supportedGames.html b/WebHostLib/templates/supportedGames.html index 128278c4b2..01f7fa2cb9 100644 --- a/WebHostLib/templates/supportedGames.html +++ b/WebHostLib/templates/supportedGames.html @@ -49,6 +49,13 @@
{{ game_name }} {{ world.__doc__ | default("No description provided.", true) }}
+ {% if "authors" in world.manifest %} + {% if world.manifest["authors"]|length == 1 %} +

Author: {{ world.manifest["authors"][0] }}

+ {% else %} +

Authors: {{ world.manifest["authors"] | join(", ") }}

+ {% endif %} + {% endif %} Game Page {% if world.web.tutorials %} | @@ -68,9 +75,6 @@ Report a Bug {% endif %}
- {% if "authors" in world.manifest %} -

Authors: {{ world.manifest["authors"] | join(", ") }}

- {% endif %} {% endfor %} {% endblock %}