Bold post titles in federated AP content
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 1m6s
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 1m6s
This commit is contained in:
@@ -1004,7 +1004,7 @@ def _build_ap_post_data(post, post_url: str, tag_objs: list) -> dict:
|
|||||||
# Content HTML: title + excerpt + "Read more" link
|
# Content HTML: title + excerpt + "Read more" link
|
||||||
parts: list[str] = []
|
parts: list[str] = []
|
||||||
if post.title:
|
if post.title:
|
||||||
parts.append(f"<p>{html_escape(post.title)}</p>")
|
parts.append(f"<p><strong>{html_escape(post.title)}</strong></p>")
|
||||||
|
|
||||||
body = post.plaintext or post.custom_excerpt or post.excerpt or ""
|
body = post.plaintext or post.custom_excerpt or post.excerpt or ""
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user