sections/sorted
This commit is contained in:
parent
9cf9eb8e7e
commit
7f2fbfcfb4
1 changed files with 1 additions and 1 deletions
2
build.py
2
build.py
|
@ -45,7 +45,7 @@ def nav(sections, active):
|
||||||
|
|
||||||
def body(sections):
|
def body(sections):
|
||||||
html = []
|
html = []
|
||||||
for section in sections.values():
|
for _, section in sorted(sections.items()):
|
||||||
html.append(f'<section id="{section["id"]}">')
|
html.append(f'<section id="{section["id"]}">')
|
||||||
html.append(section['content'])
|
html.append(section['content'])
|
||||||
html.append('</section>')
|
html.append('</section>')
|
||||||
|
|
Loading…
Reference in a new issue