WebHost: Remove space before comma separators in tutorial authors (#5999)

* Remove space before comma

* Factorio authors update

* Simplify template
This commit is contained in:
Duck
2026-03-29 16:19:54 -06:00
committed by GitHub
parent 96277fe9be
commit 95f696c04f
2 changed files with 2 additions and 6 deletions

View File

@@ -20,11 +20,7 @@
{% for file_name, file_data in tutorial_data.files.items() %}
<li>
<a href="{{ url_for("tutorial", game=world_name, file=file_name) }}">{{ file_data.language }}</a>
by
{% for author in file_data.authors %}
{{ author }}
{% if not loop.last %}, {% endif %}
{% endfor %}
by {{ file_data.authors | join(", ") }}
</li>
{% endfor %}
</ul>

View File

@@ -37,7 +37,7 @@ class FactorioWeb(WebWorld):
"English",
"setup_en.md",
"setup/en",
["Berserker, Farrak Kilhn"]
["Berserker", "Farrak Kilhn"]
)]
option_groups = option_groups