summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-05-03 10:58:46 +0200
committerDanilo M. <danix@danix.xyz>2026-05-03 10:58:46 +0200
commit3f23288296c70ab619cfd100a70b900a019b5f7e (patch)
tree82d5aca1e0952cdf58e0fc3e2c2fab50dd7d094a /core
parent7ca865ee29ca73373349e3a82f783877e4d51ae8 (diff)
downloadpublisher-3f23288296c70ab619cfd100a70b900a019b5f7e.tar.gz
publisher-3f23288296c70ab619cfd100a70b900a019b5f7e.zip
chore: add CLAUDE.md, HANDOFF.md, design spec, implementation plan, frontmatter fixes
Diffstat (limited to 'core')
-rw-r--r--core/frontmatter.py2
1 files changed, 1 insertions, 1 deletions
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")