archive improvements

This commit is contained in:
Bastian Venthur
2021-01-19 22:17:19 +01:00
parent 08d05f8bb3
commit a70b51cebb
4 changed files with 39 additions and 5 deletions

View File

@@ -177,7 +177,7 @@ def convert_to_html(convertibles):
ctx['archive'] = archive
template = env.get_template('archive.html')
result = template.render(ctx)
with open('archive.html', 'w') as fh:
with open('build/archive.html', 'w') as fh:
fh.write(result)
## generate tags