Add external flag to menu-row for cross-subdomain links
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 1m18s
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user