summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorBotond Hende <contact@wazul.moe>2026-05-01 12:24:42 +0200
committerBotond Hende <contact@wazul.moe>2026-05-01 12:24:42 +0200
commit64a4603ec2ca7b77e7331955f8c9edb4d5ae6b87 (patch)
tree88fd400b8fc407966e769610251682e247834184 /modules
parent9e331aa695cdf8e5b6e063054b3706039eaaa9a6 (diff)
fixed codenames og:url
Diffstat (limited to 'modules')
-rw-r--r--modules/codenames_generate.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/codenames_generate.py b/modules/codenames_generate.py
index de51561..19fd284 100644
--- a/modules/codenames_generate.py
+++ b/modules/codenames_generate.py
@@ -23,6 +23,6 @@ def generate(jinja_env: jinja2.Environment, output_root_path: str, local: bool):
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}))
+ f.write(root_template.render({"url" : Config.CODENAMES_ROOT_URL, "title": Config.CODENAMES_NAME}))
shutil.copytree(Config.CODENAMES_ASSETS_SOURCE_DIR, output_root_path + Config.ASSETS_IMPORT_PATH) \ No newline at end of file