trim title off body if detected

This commit is contained in:
2026-03-24 21:34:57 +00:00
parent 2048c576e9
commit 5c27d9c0ea
+1 -1
View File
@@ -83,7 +83,7 @@ export default function gemtext(config: GemtextConfig = {}): AstroIntegration {
)
if (data["title"]) {
body.replace(`# ${data["title"]}\n`, '');
body = body.replace(`# ${data["title"]}\n`, '');
body = body.trim();
}