Ask HN: Which static site generator you use?

17 points by xcoding ↗ HN

18 comments

[ 4.1 ms ] story [ 49.3 ms ] thread
pelican, it supports jupyter notebooks
Out of the box or as a plugin? I can't find anything on the pelican website.
It all depends e.g. what's your favorite (scripting) language? what's your favorite template (language)? what's your favorite configuration format / language? and so on. I've put together a stay static showcase - that shows the same website / sample site (w/ posts, pages, datafiles) in 10+ static website builders / generator - see https://github.com/staystatic/staystatic Cheers.
Octopress, because it handles code formatting particularly well.
Since my favorite scripting languages produced nothing of value in the last decade I started using hugo and don't care patching it. It just works.
Jekyll and Middleman both on larger scale production sites.
I use Jekyll for most static sites where I present information (most of them are internal websites for specific projects inside companies) And I use middleman when I want a little bit more custom things to happen.
I can recommend to use Hugo [0] as a static website generator. They have plenty of themes [1] to choose from. You can still adjust it with basic knowledge in HTML/CSS. Afterward you can chose where to host it. You can use Github Pages [2] for free or pay for a service like DigitalOcean [3]. I wrote a technical cheatsheet [4] on how to setup your own website with these ingredients.

- [0] https://gohugo.io/

- [1] http://themes.gohugo.io/

- [2] https://pages.github.com/

- [3] https://www.digitalocean.com/

- [4] http://www.robinwieruch.de/own-website-in-five-days/

Does GitHub support Hugo? As I only know that it has support for jekyll. If they support then I want try with it. I tried with jekyll but i find customization little complex.
You can deploy any static website with GitHub. You can't just run backend code and can't have a database there.
Same. As far as I know, GitHub only supports Jekyll. If you need to serve Hugo for static site generator, I would recommend to use GitLab Pages [1]. It's free and you can connect your own domain and TLS certificates. Not to mention, your repository visibility.

[1]: https://pages.gitlab.io/