Gallery: Add headings for groups

This commit is contained in:
Florian Festi 2023-02-05 16:07:03 +01:00
parent 65a49ede39
commit 216a5c4da8
1 changed files with 1 additions and 0 deletions

View File

@ -509,6 +509,7 @@ class BServer:
"""]
for nr, group in enumerate(self.groups):
result.append(f"<h2>{_(group.title)}</h2>\n")
for box in group.generators:
name = box.__name__
fn = f"samples/{name}-thumb.jpg"