{{define "app"}} BookmarkManager {{/* Body text before meta lines: DM Sans is the biggest face and the one most of the page is set in; the mono is small and arrives from CSS. */}} {{template "icons" .}}

{{template "mark" .}}BookmarkManager

{{/* Plain full-page links, not htmx swaps: switching library replaces the tab row and the chrome, which is a page, not a fragment. */}} {{/* The owner's only difference on this page: a link out to the administrative one. It sits beside Log out rather than in the library switch — that switch says which library, not which page. */}} {{if .Owner}}Admin{{end}}
{{/* Search sits above the tabs on a phone and folds into the tab row on a wider screen — one flex container, order swapped in CSS. */}}
{{/* These are real links with real hrefs that change the URL, so they are navigation, not an ARIA tablist — aria-current carries "which bucket am I in" without owing a tabpanel contract we do not implement. */}}
{{template "setup" .}} {{template "keyrow" .}} {{template "recent" .}}
{{template "list" .}}
{{end}}