News for hackers. Stuff that matters.
Re:Text-Only Websites by peterbb_net on Thursday June 25, 2020 @09:36AM (#23640553)
I'm using what is probably the simplest static site generator: cat.

  for f in texts/*.html; do
    cat preamble.html "$f" postamble.html > out/$(basename "$f")
  done
The front-page is written manually.
Re:Text-Only Websites by bachmeier on Thursday June 25, 2020 @02:54PM (#23644157)
I did something along those lines once, but I used https://github.com/susam/mdme as the preamble so I could write the posts in markdown rather than html. The index was an extra line to add links to index.html.