3 ms·
I generate static webpages from markdown in a < 100 lines bash script. It's just a for loop using sed, pygments and markdown, hosted on github. It has a local
by mrswag 10y ago
I generate static webpages from markdown in a < 100 lines bash script. It's just a for loop using sed, pygments and markdown, hosted on github.
It has a local webserver, spell check, optional image compression, and minimal dependencies.
I don't get the need of Jekyll or Hugo. They're bloated and it's a pain to customize so called "themes". I'm OK with 'boring' HTML and CSS.
- kabisote 10y ago+1 for Hugo.
- allover 10y agoIt's great you built your own tool and workflow that suits you, but there's no need to declare things 'bloated', just because they include things you don't want to use. That's your opinion. Its defaults suit me pretty well, and it's really well documented.
- mrswag 10y agoBad wording on my side, sorry. My grief is mostly against some prominent themes that weight 5 MB a page, and feature jQuery to animate the menu.
- allover 10y agoCool, I hear you but Jekyll actually comes with a very minimal theme (when you 'jekyll new my-site'). Heavy 3rd party themes aren't really the fault of Jekyll.
- ngrilly 10y agoWhat do you use for the local webserver, spell check and image image compression?
- mrswag 10y ago`python -m SimpleHTTPServer` for the local server (or if you prefer the python3 variant, `python3 -m http.server`), aspell for the spell check, and OptiPNG for PNG compression. I didn't found something (yet) for JPEG.