News for hackers. Stuff that matters.
Re:The theory versus the practice of “static websites” by forrestthewoods on Saturday July 15, 2023 @07:07AM (#36735492)
My blog is static and doesn’t even use a static generator. For the mildly capable programmer I’m fully convinced this is the way.

https://www.forrestthewoods.com/blog/

Re:The theory versus the practice of “static websites” by dpritchett on Saturday July 15, 2023 @08:57AM (#36736249)
Can you describe your process? Do you just hand type import-free HTML and rsync it up to a web server?

I’d make so many syntax errors without at least some sort of lint/build step.

Re:The theory versus the practice of “static websites” by forrestthewoods on Saturday July 15, 2023 @11:36PM (#36743327)
My blog is hosted on Netlify and lives in a GitHub repo. Updating the public blog is as simple as git push.

I write and iterate my blog posts in a raw text file. When I’m happy I make a copy/paste an existing post and then modify the title and body.

There’s no server or build step. I just open the local .html file in my local browser. My build process is change HTML and press F5 in browser.

I have experimented with markdown-to-html converters. They’re ok but not a game changer.

Most of my posts have no JavaScript. But a few with custom visualizations do.

Re:The theory versus the practice of “static websites” by jamiedumont on Sunday July 16, 2023 @02:41AM (#36744262)
This is my approach too for my photography portfolio. It’s undoubtedly more work for a single edit/update/addition but over time the simplicity means that I’m not doing maintenance or migrating content between different tools that it’s less work in the long run.