diff --git a/bp/blog/ghost/ghost_sync.py b/bp/blog/ghost/ghost_sync.py index 5780d40..25c00b2 100644 --- a/bp/blog/ghost/ghost_sync.py +++ b/bp/blog/ghost/ghost_sync.py @@ -1006,14 +1006,10 @@ def _build_ap_post_data(post, post_url: str, tag_objs: list) -> dict: if post.title: parts.append(f"
{html_escape(post.title)}
") - excerpt = post.custom_excerpt or post.excerpt or "" - if not excerpt and post.plaintext: - excerpt = post.plaintext[:500] - if len(post.plaintext) > 500: - excerpt = excerpt.rsplit(" ", 1)[0] + "\u2026" + body = post.plaintext or post.custom_excerpt or post.excerpt or "" - if excerpt: - for para in excerpt.split("\n\n"): + if body: + for para in body.split("\n\n"): para = para.strip() if para: parts.append(f"{html_escape(para)}
")