John O'Keefe
7bf5697c71
fix(podcasts): library switcher leaked literal "continue" and the podcasts option
...
The D13 podcast exclusion (9a148c23 ) was written as a templ
`if !IsBookLibrary(...) { continue }` — but templ markup control flow
has NO continue STATEMENT: codegen emitted the word as a TEXT node
(visible junk between options on every page's library subbar) and
rendered the podcasts option anyway, defeating the exclusion. The real
browser sweep caught what every Go/API test structurally cannot:
generated markup that renders wrong yet compiles clean.
Rewritten as an inverted guard (the idiomatic templ skip). New render
pin TestLibrarySwitcherExcludesPodcasts fails on both halves of the
original leak — the literal text AND the presence of the podcasts
option — so this codegen gotcha class stays tripped-wired.
2026-10-30 20:50:38 -04:00
..
2026-10-28 09:37:14 -04:00
2026-10-28 09:37:14 -04:00
2026-10-28 09:37:14 -04:00
2026-10-25 11:06:08 -04:00
2026-10-13 12:24:12 -04:00
2026-10-27 23:33:52 -04:00
2026-10-27 23:33:52 -04:00
2026-10-30 13:54:37 -04:00
2026-10-30 13:54:37 -04:00
2026-10-27 13:22:54 -04:00
2026-10-27 13:22:54 -04:00
2026-10-30 10:12:43 -04:00
2026-10-30 10:12:43 -04:00
2026-10-25 18:14:44 -04:00
2026-10-27 23:33:52 -04:00
2026-10-27 23:33:52 -04:00
2026-10-25 17:22:40 -04:00
2026-10-25 18:14:44 -04:00
2026-10-25 18:14:44 -04:00
2026-10-30 15:52:14 -04:00
2026-10-30 15:52:14 -04:00
2026-10-30 12:03:44 -04:00
2026-10-30 12:03:44 -04:00
2026-10-29 16:05:03 -04:00
2026-10-29 16:05:03 -04:00
2026-05-24 21:20:24 -04:00
2026-03-27 15:52:02 -04:00
2026-10-30 19:25:02 -04:00
2026-10-30 19:25:02 -04:00
2026-10-25 11:06:08 -04:00
2026-10-18 12:08:20 -04:00
2026-10-27 23:33:52 -04:00
2026-10-30 12:03:44 -04:00
2026-10-30 12:03:44 -04:00
2026-10-30 19:38:39 -04:00
2026-10-30 19:38:39 -04:00
2026-10-30 16:18:29 -04:00
2026-10-30 16:18:29 -04:00
2026-10-27 23:33:52 -04:00
2026-10-27 23:33:52 -04:00
2026-10-26 08:17:49 -04:00
2026-10-27 23:33:52 -04:00
2026-10-27 23:33:52 -04:00
2026-10-27 23:33:52 -04:00
2026-10-27 23:33:52 -04:00
2026-10-27 23:33:52 -04:00
2026-10-27 23:33:52 -04:00
2026-10-24 14:31:36 -04:00
2026-10-27 23:33:52 -04:00
2026-10-27 23:33:52 -04:00
2026-10-25 11:06:08 -04:00
2026-08-10 13:43:13 -04:00
2026-10-25 11:06:08 -04:00
2026-10-19 18:59:36 -04:00
2026-10-30 19:22:17 -04:00
2026-10-30 19:22:17 -04:00
2026-10-25 11:06:08 -04:00
2026-08-05 16:45:02 -04:00
2026-10-30 13:54:37 -04:00
2026-10-30 13:54:37 -04:00
2026-10-29 16:17:55 -04:00
2026-10-29 16:17:55 -04:00
2026-10-25 17:22:40 -04:00
2026-10-25 16:58:28 -04:00
2026-10-30 20:50:38 -04:00
2026-10-30 20:50:38 -04:00
2026-10-25 11:06:08 -04:00
2026-10-24 19:44:34 -04:00
2026-10-30 20:50:38 -04:00
2026-10-30 14:13:39 -04:00
2026-10-30 14:13:39 -04:00
2026-10-30 12:03:44 -04:00
2026-10-30 12:03:44 -04:00
2026-10-30 12:03:44 -04:00
2026-10-26 13:59:32 -04:00
2026-10-26 13:59:32 -04:00
2026-10-25 11:06:08 -04:00
2026-08-05 16:45:02 -04:00
2026-10-27 23:33:52 -04:00
2026-10-27 23:33:52 -04:00
2026-10-27 23:33:52 -04:00
2026-10-27 23:33:52 -04:00
2026-10-27 23:33:52 -04:00
2026-10-27 23:33:52 -04:00
2026-10-24 19:44:34 -04:00
2026-10-24 19:44:34 -04:00
2026-08-05 16:45:02 -04:00
2026-08-05 16:45:02 -04:00
2026-10-27 15:11:49 -04:00
2026-10-27 15:11:49 -04:00
2026-10-28 10:12:20 -04:00
2026-10-28 10:12:20 -04:00
2026-10-03 23:54:07 -04:00
2026-10-24 19:44:34 -04:00
2026-10-24 19:44:34 -04:00
2026-10-27 23:33:52 -04:00
2026-10-27 23:33:52 -04:00
2026-10-18 12:08:07 -04:00
2026-10-18 12:08:07 -04:00
2026-10-18 12:08:07 -04:00
2026-10-25 11:06:08 -04:00
2026-05-10 16:13:21 -04:00
2026-10-30 16:54:36 -04:00
2026-10-27 23:33:52 -04:00
2026-10-27 23:33:52 -04:00
2026-10-19 18:59:36 -04:00
2026-10-29 15:44:48 -04:00