Add external flag to menu-row for cross-subdomain links
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 1m18s

Cross-subdomain hx-get breaks due to OAuth redirects. When external=true,
menu-row renders a plain <a href> without HTMX attributes, allowing
normal browser navigation.

Applied to post header links on events and market services which link
back to blog.rose-ash.com.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-28 16:46:47 +00:00
parent 6a331e4ad8
commit a8edc26a1d
3 changed files with 9 additions and 7 deletions

View File

@@ -61,7 +61,8 @@ def _post_header_html(ctx: dict, *, oob: bool = False) -> str:
return render("menu-row", id="post-row", level=1,
link_href=link_href, link_label_html=label_html,
nav_html=nav_html, child_id="post-header-child", oob=oob)
nav_html=nav_html, child_id="post-header-child", oob=oob,
external=True)
def _post_nav_html(ctx: dict) -> str: