DEV Community

Discussion on: Which is the Best Static Site Generator and Why?

Collapse
 
shlomif profile image
Shlomi Fish

Hi,

I've written about SSGs here: github.com/shlomif/shlomif-tech-di... . As noted there the main take away is that it is not hard to create a home grown SSG based on some tools like a templating system/preprocessor and a build system and I cannot recommend against it.

Anyway, so far I used:

  1. github.com/thewml/website-meta-lan... which is powerful and flexible, but slow. I wrote my own custom logic above it in web-cpan.shlomifish.org/latemp/ and other repos.

  2. I tried Jekyll ( github.com/jekyll/jekyll ) but found it too opaque and hard to tweak ("trivial things are quite easy, but anything harder is close to impossible.").

  3. I used template-toolkit.org/ for a few sites and it was fast and flexible, but it is based on perl 5.

  4. I used github.com/Ceasar/staticjinja and ran into some quirky behaviour.

  5. I converted the fc-solve.shlomifish.org/ site from wml to jinja2 , which avoided the staticjinja quirks but then I grew to dislike jinja2's scoping, and would rather avoid it for future work.


So what is my recommendation? I'd probably use the Template Toolkit if Perl was more popular. Otherwise, I have not found the holy grail yet.