From ab1ec50a9b842dfedc9f5c5ee8c20a48de3f1347 Mon Sep 17 00:00:00 2001 From: nathansmith117 Date: Mon, 31 Mar 2025 04:57:56 -0600 Subject: Wrote wikipedia article --- blog/generate_html.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'blog/generate_html.py') diff --git a/blog/generate_html.py b/blog/generate_html.py index 7360fa3..1d8d063 100755 --- a/blog/generate_html.py +++ b/blog/generate_html.py @@ -31,6 +31,7 @@ def main(): with open("template.html", "r") as fp: template = fp.read() + article_list = "" + # Format the articles into the html - template = template.format(articles=article_html) + template = template.format(article_list=article_list, articles=article_html) print(template) if __name__ == "__main__": -- cgit v1.2.3