minor fix

This commit is contained in:
Yan Lin 2026-02-18 09:00:19 +01:00
parent 09ea2ac540
commit 99bb2ecdcd
8 changed files with 1 additions and 1734 deletions

View file

@ -17,10 +17,6 @@ if __name__ == '__main__':
os.makedirs('dist/presentations', exist_ok=True)
os.makedirs('dist/teaching', exist_ok=True)
# Create .nojekyll file to prevent GitHub Pages from using Jekyll
with open('dist/.nojekyll', 'w') as f:
pass
def render_template(template_name, output_path, **kwargs):
template = env.get_template(template_name)
html = template.render(year=current_year, **kwargs)