feat: update HTTP handlers and templates for shelf model

This commit is contained in:
2026-06-21 22:58:52 -04:00
parent 346fd7af5b
commit c4248dcc89
3 changed files with 11 additions and 26 deletions
+1 -1
View File
@@ -407,7 +407,7 @@ Set by test harnesses that only need the model functions.")
(if books
(insert (spine-render "index.mustache"
(spine-index-model books shelf-filter (cadr (assoc "id" query)))))
(insert (spine-render-empty-state))))
(insert (spine-render-empty-state)))))
(defun httpd/add (proc uri-path query request)
"Handle /add: GET shows form, POST creates a book."