Hacker News new | ask | show | jobs
by remipch 623 days ago
I don't know if it has its place here but for a minimalist static website, here is my approach:

- create a simple html template using simple.css [0]

- write markdown files

- wrap pandoc [1] in a simple bash script to manually convert markdown to html

- and that's it.

By minimalist, I mean: no script, no component, no database, no react, no SEO.

The result is a minimalist website that you write in markdown.

It's very limited compared to full-featured frameworks, but it can do the job for a simple website.

Here is mine: [2] (I'm not a web developer at all).

[0] https://github.com/kevquirk/simple.css

[1] https://pandoc.org/

[2] https://remipch.github.io/

3 comments

My personal website was originally written this way. The compile and build script was about 20 lines of shell scripting (relying on pandoc), and could have probably been reduced further. It worked very well and I stuck with it for about 2 years before moving on to Hugo. It was a good experience to hand-roll all the components of a static site, and something every web dev should be required to do early in their career.
Idk if I’d call my setup minimalist, but I write blog posts in org, and use ox-Hugo to export them to hugo.

I like hugo.

Good tempting language and taxonomy features.

I quite like your philosophy and approach