truncate mods added on changelog
This commit is contained in:
parent
bfddb30a91
commit
1f0f6f0efa
|
@ -221,8 +221,11 @@ def generate_summary():
|
||||||
change_log = ""
|
change_log = ""
|
||||||
for date, items in changes.items():
|
for date, items in changes.items():
|
||||||
change_log += f"<i>{date}</i><ul>"
|
change_log += f"<i>{date}</i><ul>"
|
||||||
for item in items:
|
if len(items) > 10:
|
||||||
change_log += f"<li>{item}</li>"
|
change_log += f"<li>{len(items)} mods added</li>"
|
||||||
|
else:
|
||||||
|
for item in items:
|
||||||
|
change_log += f"<li>{item}</li>"
|
||||||
change_log += "</ul>"
|
change_log += "</ul>"
|
||||||
|
|
||||||
mod_table = ""
|
mod_table = ""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user