[Page] syntax fixes and formating

This commit is contained in:
coja
2026-05-03 01:18:16 +02:00
parent 629c5b02bf
commit 1c0be34ecf
17 changed files with 418 additions and 124 deletions

View File

@@ -21,7 +21,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(
@@ -38,7 +38,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(