News for hackers. Stuff that matters.
Re:Free static site generator for small restaurants and cafes by hunter2_ on Tuesday December 02, 2025 @04:17PM (#46126998)
I agree with no JS, but why PDF over HTML? Hard-wrapping for letter-sized paper (ok, a PDF doesn't need to be letter-sized, but most menus are approximately that) with crapshoot reflow options for soft-wrapping in certain viewer apps is pretty dicey on a phone, mitigated only slightly by rotating the phone sideways.

The only benefit I can think of is if it leads to more frequent updates by the restaurant, due to limited skillset.

Re:Free static site generator for small restaurants and cafes by ok123456 on Tuesday December 02, 2025 @07:05PM (#46128651)
If the restaurant doesn't have anything besides a menu, /index.pdf is fine—no web design required; reuse the menu they're printing anyway.

The trade-off is that they'll have to pinch/zoom if they have a small display. It's a minor inconvenience to make the exact information they want available instantly.

Re:Free static site generator for small restaurants and cafes by vector_spaces on Tuesday December 02, 2025 @09:39PM (#46129654)
index.pdf won't tend to play nicely with screen readers and also sucks for people on crappy mobile networks, so it's a minor inconvenience for some, and straight up unusable for others
Re:Free static site generator for small restaurants and cafes by ok123456 on Wednesday December 03, 2025 @12:14AM (#46130548)
> index.pdf won't tend to play nicely with screen readers

The horrible Wix sites most restaurants end up using are likely less accessible than a PDF. The Adobe PDF reader can reflow text.

> also sucks for people on crappy mobile networks

The average wysiwyg site builder produces bundles that are an order of magnitude larger than a PDF menu. Also, the PDF is easier to cache correctly and can be easily saved for offline access.

Re:Free static site generator for small restaurants and cafes by mpweiher on Wednesday December 03, 2025 @01:34AM (#46130910)
Why is Wix horrible...or why does it create horrible sites by default?

Curious, I haven't tried it.

Re:Free static site generator for small restaurants and cafes by hyperhello on Tuesday December 02, 2025 @10:07PM (#46129840)
But you can easily serve a desktop version or a small screen version.
Re:Free static site generator for small restaurants and cafes by neuroelectron on Tuesday December 02, 2025 @05:35PM (#46127901)
The complexity between the modern web and a pdf is marginal. PDFs do get printed for menus. Editing a PDF and uploading it to the site, integrating prices and syncing between the site, online ordering, PDF menus is just part of the business. There are lots of platforms that help with this such as Slice.
Re:Free static site generator for small restaurants and cafes by pastel8739 on Tuesday December 02, 2025 @09:38PM (#46129648)
I vastly prefer looking at a PDF menu over an HTML one nearly all the time. PDFs are usually nicely formatted, and I don’t mind zooming and panning to see everything. HTML is frequently terribly formatted, interspersed with ads, slow, etc
Re:Free static site generator for small restaurants and cafes by foogazi on Tuesday December 02, 2025 @10:37PM (#46130027)
> HTML is frequently terribly formatted, interspersed with ads, slow, etc

You can put ads into terribly formatted PDFs too

Re:Free static site generator for small restaurants and cafes by saghm on Wednesday December 03, 2025 @12:09AM (#46130524)
In theory, yes, but the parent comment is talking about what they've frequently encountered in practice. Maybe there's reason to expect that having a lot more PDFs of menus might not result in a similar experience, but it doesn't seem obvious to me at least
Re:Free static site generator for small restaurants and cafes by IAmBroom on Wednesday December 03, 2025 @10:19AM (#46135484)
Yes, and you can strap jet engines onto horses at the race track.

No one does either of those, IRL.

Re:Free static site generator for small restaurants and cafes by parpfish on Tuesday December 02, 2025 @10:18PM (#46129918)
Because they can make one nice pdf formatted to get printed out in the restaurant and then reuse it to display on the website