News for hackers. Stuff that matters.
Re:Free static site generator for small restaurants and cafes by Groxx on Tuesday December 02, 2025 @11:12PM (#46130229)
It also works just fine without JavaScript, so I'm not sure what they're trying to do with that comment.
Re:Free static site generator for small restaurants and cafes by hunter2_ on Tuesday December 02, 2025 @11:42PM (#46130388)
No, the comment correctly points out that the "Soup" button (and all of its siblings... the food categories) is inoperable when JavaScript is disabled. You're stuck with "All" instead of nice filtering. There are ways to achieve this without JavaScript.
Re:Free static site generator for small restaurants and cafes by Groxx on Wednesday December 03, 2025 @10:14PM (#46143391)
ah, gotcha. that would be nice, but tbh it seems rather minor? anyone who knows how to disable javascript (an extremely-clear "power user" signal) can probably be expected to know how to search a page too.
Re:Free static site generator for small restaurants and cafes by hunter2_ on Wednesday December 03, 2025 @10:23PM (#46143455)
It's just peculiar especially since the repo readme [0] specifically says "Minimal JavaScript - Only when truly needed" and yet it's used for this food category filtering, a feature for which JS is certainly not truly needed.

[0] https://github.com/Local-Cafe/localcafe-lite?tab=readme-ov-f...