From 3f23288296c70ab619cfd100a70b900a019b5f7e Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Sun, 3 May 2026 10:58:46 +0200 Subject: chore: add CLAUDE.md, HANDOFF.md, design spec, implementation plan, frontmatter fixes --- core/frontmatter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/frontmatter.py b/core/frontmatter.py index 4e9eff3..06c36d1 100644 --- a/core/frontmatter.py +++ b/core/frontmatter.py @@ -24,5 +24,5 @@ def write_frontmatter(path: Path, frontmatter: dict, body: str) -> None: doc = tomlkit.loads(original_toml) for k, v in frontmatter.items(): doc[k] = v - new_text = f"+++\n{tomlkit.dumps(doc)}+++\n\n{body}" + new_text = f"+++\n{tomlkit.dumps(doc).strip()}\n+++\n\n{body}" path.write_text(new_text, encoding="utf-8") -- cgit v1.2.3