Live data from Hacker News

Zola: A fast static site generator in a single binary

getzola.org

31–40 of 177 posts

Re: Zola: A fast static site generator in a single binary

#31
post #7

I though this was about the wedding registry site at first. Anyway, I liked this line from the Github: > Hugo gets ehh for the template engine because while it is probably the most powerful template engine in the list (after Jinja2) it personally drives me insane, to the point of writing my own template engine and static site generator. Yes, this is a bit biased. This seems to be the life cycle of static site generat…

Yep, I got frustrated with Zola, ended up maintaining a couple patches, and eventually ended up writing my own (ad hoc, not generally usable) SSG...

Re: Zola: A fast static site generator in a single binary

#32
post #19

Zola seem the most popular static site generator that allows you to generate a website without any JS bundle without using some strange hack. This is the way I firstly stumbled upon it as I was looking for a fast way to generate a fully static site with the advantages of a generator and none of the overheads... It may be limited for certain use cases but I think it would be my first choice for editing a static site w…

I use Hugo and I have zero Javascript on my static site(s).

I didn’t use any existing theme though. I just added ~30 lines of HTML/template markup. No theme needed really, not for my purposes at least.

Re: Zola: A fast static site generator in a single binary

#33
post #7

I though this was about the wedding registry site at first. Anyway, I liked this line from the Github: > Hugo gets ehh for the template engine because while it is probably the most powerful template engine in the list (after Jinja2) it personally drives me insane, to the point of writing my own template engine and static site generator. Yes, this is a bit biased. This seems to be the life cycle of static site generat…

Perhaps we need a meta ssg. An ssgg if you will. Perhaps a dsl for specifying ssgs.

I guess Racket’s proposal of language oriented programming isn’t so kooky after all.

Re: Zola: A fast static site generator in a single binary

#34
post #17

Tangential Related: how do people use static site generators (SSG) when they have more than 1 team member who's publishing site updates? Are they having the SSG trigger off of a git push?

Yup, on a merge into a release branch. Netlify makes that workflow a breeze to set up. Zola also has pretty easy integration with netlify.

Re: Zola: A fast static site generator in a single binary

#35
In the past I wrote a couple sites using jekyll and really liked it. For my personal site I decided to give zola a go on a whim. I was pleasantly surprised by how complete and easy to use it was.

It had features for image manipulation built in that I had to get from a meh plugin for jekyll. I ended up reworking one of the sites I wrote in Jekyll in Zola on the next update. It was an art portfolio site so I leaned on these features heavily. It ended up being a pretty quick weekend rework and made the code base much easier to work in.

Re: Zola: A fast static site generator in a single binary

#36

I tried Zola and liked the speed and simplicity. However support for its templating language is scarce and I'm not super keen on writing extensions in Rust. I have also looked at Hugo, which is determined to uphold evil and suffering by using Go's horrible templating minilanguage; Nanoc, which is cool but at times inscrutable and perhaps a little too obscure; now I'm playing with Jekyll. In short I am doing everythin…

> support for its templating language is scarce

Hello, i would say there's a few missing template features in Zola (especially hashmap literals/functions) but i don't find it scarce. Could you elaborate with your painpoints so they can be addressed for others as well?

Zola is constantly evolving for the better, and the community forums are also a good place to exchange feedback/criticism

Re: Zola: A fast static site generator in a single binary

#37
post #7

I though this was about the wedding registry site at first. Anyway, I liked this line from the Github: > Hugo gets ehh for the template engine because while it is probably the most powerful template engine in the list (after Jinja2) it personally drives me insane, to the point of writing my own template engine and static site generator. Yes, this is a bit biased. This seems to be the life cycle of static site generat…

Perhaps we need a meta ssg. An ssgg if you will. Perhaps a dsl for specifying ssgs.

I believe Metalsmith [1] is trying that approach

[1] https://metalsmith.io/

Re: Zola: A fast static site generator in a single binary

#38
post #11
post #5

Earlier quoted context omitted.

I've been using Gatsby recently and it's been pretty good, as long as you're not opposed to node and JS.

We're looking at Gatsby now. We don't care about the language used to generate a site as long as it doesn't send silent errors into the finished result (always a concern with JS...) What else did you try before landing on Gatsby?

(not op) I personally love next.js but I guess it'd bee too flexible for some.

Re: Zola: A fast static site generator in a single binary

#39
post #7

I though this was about the wedding registry site at first. Anyway, I liked this line from the Github: > Hugo gets ehh for the template engine because while it is probably the most powerful template engine in the list (after Jinja2) it personally drives me insane, to the point of writing my own template engine and static site generator. Yes, this is a bit biased. This seems to be the life cycle of static site generat…

We don't need to create one if we do not like Hugo. There are other SSGs like Hugo. Jekyll, Gatsby, etc., More here https://jamstack.org/generators/

Re: Zola: A fast static site generator in a single binary

#40
post #7

I though this was about the wedding registry site at first. Anyway, I liked this line from the Github: > Hugo gets ehh for the template engine because while it is probably the most powerful template engine in the list (after Jinja2) it personally drives me insane, to the point of writing my own template engine and static site generator. Yes, this is a bit biased. This seems to be the life cycle of static site generat…

I think I’m just going to write a HTTP server for my website in Go, download the entire website with wget and host that statically. At least that way I can have any feature I want.

Why not varnish then?
Post reply on HN