Remove comments
This commit is contained in:
1 parent
872175153a
commit
057b4be7d7
18 files changed
+66
-1350
No files matched your search
@@ -1,21 +1,5 @@
|
||||
{# The navbar's bookmark slot. Rendered into the shell with whatever mark the
|
||||
worker holds, and returned on its own by api/bookmark after a write. Both
|
||||
paths must produce the same element for the swap to be seamless.
|
||||
|
||||
Always filled: getBookmark() answers with the default when nothing has been
|
||||
set and when storage cannot be read at all, so there is no empty state to
|
||||
render. There was one -- a hidden slot that fetched itself once a worker
|
||||
turned up -- for pages boot.html composed before there was a worker to ask.
|
||||
Nothing composes a page but the worker now, and the worker always knows. #}
|
||||
<span class="bookmark navbar-text d-flex align-items-center gap-1" id="bookmark">
|
||||
{# A word and a colon, not a badge: this is one line of text that happens to
|
||||
end in a link, and a pill in front of it read as a control. Outside the
|
||||
anchor so that only the reference is underlined -- Reboot underlines an
|
||||
<a>, and the label is not the part you can go to. It takes the muted
|
||||
navbar colour from .navbar-text on the parent without asking. #}
|
||||
<span class="bookmark-label">Bookmark:</span>
|
||||
{# Not boosted: a real navigation lets the browser scroll to the verse
|
||||
anchor, which a swap into #content would not do. #}
|
||||
<a class="bookmark-link link-light text-truncate" href="{{ mark.href }}"
|
||||
hx-boost="false">{{ mark.ref }}</a>
|
||||
</span>
|
||||
Reference in new issue
Block a user