diff --git a/voussoir.net/writing/generate_site.py b/voussoir.net/writing/generate_site.py index 3a4b26b..a0c0a9a 100644 --- a/voussoir.net/writing/generate_site.py +++ b/voussoir.net/writing/generate_site.py @@ -537,7 +537,9 @@ ARTICLES = { ARTICLES_PUBLISHED = {file: article for (file, article) in ARTICLES.items() if article.publication_id} -write_articles() +with P.transaction: + write_articles() + complete_tag_index = Index() all_tags = set(P.get_tags()) permute(all_tags)