cards,css

This commit is contained in:
Marc Beninca 2023-01-11 10:25:19 +01:00
parent 47aa5ec591
commit 3366c72ac1
2 changed files with 18 additions and 2 deletions

View file

@ -99,7 +99,8 @@ def main():
for name, files in sorted(videos.items()):
web_file, raw_file = files
content.append(card(name, web_file, raw_file))
section['content'] = os.linesep.join(content)
section['content'] = os.linesep.join([
'<div class="cards">', os.linesep.join(content), '</div>'])
sections[category] = section
for id, section in sections.items():
section['content'] = nav(sections, id) + section['content']