Fix Python string-form component name references

The rename script only matched ~prefixed names in .sx files.
Python render calls use bare strings like render_to_html("name")
which also need updating: 37 replacements across 8 files.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-12 22:13:47 +00:00
parent b0920a1121
commit 6186cd1c53
8 changed files with 37 additions and 37 deletions

View File

@@ -27,7 +27,7 @@ async def _social_page(ctx: dict, actor, *, content: str,
from markupsafe import escape
env = {"actor": _serialize_actor(actor) if actor else None}
header_rows = await render_to_sx_with_env("social-layout-full", env)
header_rows = await render_to_sx_with_env("layouts/social-layout-full", env)
return await full_page_sx(ctx, header_rows=header_rows, content=content,
meta_html=meta_html or f'<title>{escape(title)}</title>')