summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorBotond Hende <nettingman@gmail.com>2026-02-18 00:53:31 +0100
committerBotond Hende <nettingman@gmail.com>2026-02-18 00:53:31 +0100
commit5a866b9b129479de85e892752fd6ede6627cee55 (patch)
tree2d616d439232ec112b4750bf118852477819daca /modules
parentcc6bdc68cb3ed40a6e51f885ea1c7c7a4e5fa6c5 (diff)
codenames duet generator functionalHEADmaster
Diffstat (limited to 'modules')
-rw-r--r--modules/codenames_generate.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/modules/codenames_generate.py b/modules/codenames_generate.py
index 55dac9e..de51561 100644
--- a/modules/codenames_generate.py
+++ b/modules/codenames_generate.py
@@ -21,12 +21,8 @@ def generate(jinja_env: jinja2.Environment, output_root_path: str, local: bool):
"codenames_url": Config.CODENAMES_ROOT_URL,
})
- root_template = jinja_env.get_template("codenames_root.html.j2")
+ root_template = jinja_env.get_template("codenames.html.j2")
with open(os.path.join(output_root_path, "index.html"), "w") as f:
f.write(root_template.render({"ctx" : Config.CODENAMES_ROOT_URL, "title": Config.CODENAMES_NAME}))
- duet_template = jinja_env.get_template("codenames_duet.html.j2")
- with open(os.path.join(output_root_path, "duet.html"), "w") as f:
- f.write(duet_template.render({"ctx" : Config.CODENAMES_ROOT_URL + "duet.html", "title": Config.CODENAMES_NAME}))
-
shutil.copytree(Config.CODENAMES_ASSETS_SOURCE_DIR, output_root_path + Config.ASSETS_IMPORT_PATH) \ No newline at end of file