From 1e4939874a14d8abb13e82b2273bfc5f9d653295 Mon Sep 17 00:00:00 2001 From: Lukasz Kasprzak Date: Fri, 24 Jul 2026 15:16:47 +0200 Subject: bookmarks: web reader bookmarks with notes + tags (add/list/filter/jump/delete); v0.15.0 --- internal/web/templates/bookmarks.html | 50 +++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 internal/web/templates/bookmarks.html (limited to 'internal/web/templates/bookmarks.html') diff --git a/internal/web/templates/bookmarks.html b/internal/web/templates/bookmarks.html new file mode 100644 index 0000000..f51515b --- /dev/null +++ b/internal/web/templates/bookmarks.html @@ -0,0 +1,50 @@ +{{/* bookmarks.html — lectio-web /bookmarks page: the saved book+chapter + bookmarks (note + tags), filterable by tag, each with an "open" link + back into the reader and its own delete form. A plain page like + index.html/settings.html's head; no htmx round trip needed for the + list itself (a plain GET with ?tag=), each delete is its own POST form. */}} + + + + + +lectio — bookmarks + + + + +
+ +

+ ← reader + home +

+ + + + {{if not .Items}} +

No bookmarks yet.

+ {{else}} +
+ {{range .Items}} +
+ {{.Display}} {{.Chapter}} + {{if .Note}}{{.Note}}{{end}} + {{if .Tags}}{{range .Tags}}#{{.}} {{end}}{{end}} +
+ + +
+
+ {{end}} +
+ {{end}} + +
+ + -- cgit v1.3