Gallery: Add headings for groups
This commit is contained in:
parent
65a49ede39
commit
216a5c4da8
|
@ -509,6 +509,7 @@ class BServer:
|
||||||
|
|
||||||
"""]
|
"""]
|
||||||
for nr, group in enumerate(self.groups):
|
for nr, group in enumerate(self.groups):
|
||||||
|
result.append(f"<h2>{_(group.title)}</h2>\n")
|
||||||
for box in group.generators:
|
for box in group.generators:
|
||||||
name = box.__name__
|
name = box.__name__
|
||||||
fn = f"samples/{name}-thumb.jpg"
|
fn = f"samples/{name}-thumb.jpg"
|
||||||
|
|
Loading…
Reference in New Issue