diff --git a/website/homepage/render_html.py b/website/homepage/render_html.py
index 03368dd304..57b51b8df9 100644
--- a/website/homepage/render_html.py
+++ b/website/homepage/render_html.py
@@ -68,6 +68,9 @@ def render_guides_main():
with open("src/guides_main_template.html", encoding='utf-8') as template_file:
template = Template(template_file.read())
output_html = template.render(guides=guides, navbar_html=navbar_html)
+ os.makedirs(os.path.join("generated", "guides"), exist_ok=True)
+ with open(os.path.join("generated", "guides", "index.html"), "w", encoding='utf-8') as generated_template:
+ generated_template.write(output_html)
with open(os.path.join("generated", "guides.html"), "w", encoding='utf-8') as generated_template:
generated_template.write(output_html)
diff --git a/website/homepage/src/navbar.html b/website/homepage/src/navbar.html
index 588b513d32..ab5306be42 100644
--- a/website/homepage/src/navbar.html
+++ b/website/homepage/src/navbar.html
@@ -5,7 +5,7 @@