fix bug in main page article linking

This commit is contained in:
veclav talica 2024-02-10 22:19:17 +05:00
parent dc929f199e
commit 2ec92d2dee

View File

@ -39,7 +39,7 @@ for title in sorted(artciles.keys(), key=lambda a: artciles[a]["metadata"].get("
article = artciles[title]
metadata = article["metadata"]
page += (
f"""[{metadata.get("Title", "No title given! What a clusterfuck!")}](/articles/{article}.html)\n\n"""
f"""[{metadata.get("Title", "No title given! What a clusterfuck!")}](/articles/{title}.html)\n\n"""
f""">{metadata.get("Brief", "")}\n\n"""
)