sections/home

This commit is contained in:
Marc Beninca 2023-01-10 23:33:45 +01:00
parent 7f2fbfcfb4
commit 89fa362789

View file

@ -78,7 +78,9 @@ def main():
raw_root = os.path.join(root, 'raw')
web_root = os.path.join(root, 'web')
_, categories, _ = next(os.walk(raw_root))
sections = {}
sections = {
' ': {'id': 'home', 'label': '', 'content': str()},
}
for category in categories:
section = {
'id': category,