[Page] syntax fixes and formating

This commit is contained in:
coja
2026-08-09 05:36:18 +02:00
committed by coja
parent ff616cb491
commit 30983b3699
17 changed files with 418 additions and 124 deletions
+2 -2
View File
@@ -37,7 +37,7 @@ def main():
for page in PAGES:
# Build SR Page
with open(f'pages/sr/{page["name"]}.html') as f:
page_content = "<div class='cover-wrap'><img src='/img/students_bug.jpg' alt='Studenti su nasli bug' /></div"
page_content = "<div class='cover-wrap'><img src='/img/students_bug.jpg' alt='Studenti su nasli bug' /></div>"
page_content += f.read()
sr_html = env.get_template('page-sr.html').render(
@@ -54,7 +54,7 @@ def main():
# Build EN Page
with open(f'pages/en/{page["name"]}.html') as f:
page_content = "<div class='cover-wrap'><img src='/img/students_bug.jpg' alt='Students found the bug' /></div"
page_content = "<div class='cover-wrap'><img src='/img/students_bug.jpg' alt='Students found the bug' /></div>"
page_content += f.read()
en_html = env.get_template('page-en.html').render(