From c91c5396fd9fce099b09f69c6f458e6626da4a80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guilhem=20Faur=C3=A9?= Date: Fri, 21 Apr 2023 07:55:14 +0000 Subject: [PATCH] h1 convert --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index ea7d2d0..9214101 100755 --- a/main.py +++ b/main.py @@ -43,7 +43,7 @@ else: for row in fetch: frontmatter = {"title": row[2], "date": row[9]} - content = "---\n{}---\n{}\n\n{}".format(yaml.dump(frontmatter), row[2], row[7]) + content = "---\n{}---\n# {}\n\n{}".format(yaml.dump(frontmatter), row[2], row[7]) path = "{}/{}.md".format(outputDir, slugify("{}-{}".format(row[0], row[2]))) with open(path, "w") as f: f.write(content)