From 98fd0de7bc326a5bec39653f585237cc237ef6b2 Mon Sep 17 00:00:00 2001 From: Admin Date: Mon, 2 Mar 2026 12:41:02 +0500 Subject: [PATCH] fix: remove stale old-template fragment from chapterTmpl in ui.go --- scraper/internal/server/ui.go | 682 +++++++++++++--------------------- 1 file changed, 266 insertions(+), 416 deletions(-) diff --git a/scraper/internal/server/ui.go b/scraper/internal/server/ui.go index f37aca8..8c9fa66 100644 --- a/scraper/internal/server/ui.go +++ b/scraper/internal/server/ui.go @@ -2109,15 +2109,73 @@ func (s *Server) handleBookChaptersPage(w http.ResponseWriter, r *http.Request) // ─── GET /books/{slug}/chapters/{n} — chapter reader ───────────────────────── const chapterTmpl = ` - + + + - -
+ +
-

{{.Title}}

+ +
+

Chapter {{.ChapterN}}

+

{{.Title}}

+ {{if .ChapterDate}}

{{.ChapterDate}}

{{end}} +
-
- -