Live data from Hacker News

Zola: A fast static site generator in a single binary

getzola.org

131–140 of 177 posts

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

#131
post #111
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 did this exact thing when I got frustrated with Jekyll (and friends) and created Hugo. Of course, at the time all SSGs were in dynamic languages and very VERY slow. Happy to see some Hugo ideas made it into Zola.

I know the feeling. In my very meta case I get frustrated with my own SSGs, so every time I start learning a new language an SSG is one of my two standard projects to give a frame of comparison.

I now have my own SSGs written in C#, Go, Node, Python, Ruby, and PHP. It's totally ridiculous, I know. Yak shaving and shiny to the nth degree.

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

#132
post #125

Earlier quoted context omitted.

I suspect I encountered the same bug (in vanilla Emacs). It seems in Emacs 27 they introduced support for sql-indent-mode[1][2] which is not shipped by default but is in elpa. However there is a hook that checks if that package is installed, if so then loads it by default. It seems when not installed, somehow said hook messes things up in org-mode. Thanks to some investigative work from Doom Emacs people[3][4], I hav…

I do use Spacemacs. Do you have an advice about how to install sql-indent there? I'll find it one way or another, just wondering if you have experience. I think I can do the rest quite fine (already mastered setting those vars in Spacemacs, thankfully). As for Doom Emacs, I am mentally way too fatigued by learning new tools almost every day. :( I hear that it can be kind of like Spacemacs but it requires quite a bit…

Sorry I am not a user of either. I think this might be it for Spacemacs:

https://www.spacemacs.org/doc/DOCUMENTATION.html#orgheadline...

I did try Doom Emacs though. I felt it was usable right out of the box with nice defaults. But then again I haven't used it for a serious time length (I prefer Emacs keybinding, rare I know).

I also empathise with tool fatigue. I haven't significantly touched my Emacs config in a while, been in strictly bug fixing mode. That does mean I shouldn't update major version of Emacs, or the packages, but I sometimes do that anyway :/

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

#133
post #111

Earlier quoted context omitted.

I did this exact thing when I got frustrated with Jekyll (and friends) and created Hugo. Of course, at the time all SSGs were in dynamic languages and very VERY slow. Happy to see some Hugo ideas made it into Zola.

I know the feeling. In my very meta case I get frustrated with my own SSGs , so every time I start learning a new language an SSG is one of my two standard projects to give a frame of comparison. I now have my own SSGs written in C#, Go, Node, Python, Ruby, and PHP. It's totally ridiculous, I know. Yak shaving and shiny to the nth degree.

That makes a lot of sense to me. It used to be that writing a blog engine was the "Hello World" of a new language or framework. So, it makes sense that a SSG would be a good non-trivial project to use to learn or understand the pros/cons of a language.

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

#134
post #132

Earlier quoted context omitted.

I do use Spacemacs. Do you have an advice about how to install sql-indent there? I'll find it one way or another, just wondering if you have experience. I think I can do the rest quite fine (already mastered setting those vars in Spacemacs, thankfully). As for Doom Emacs, I am mentally way too fatigued by learning new tools almost every day. :( I hear that it can be kind of like Spacemacs but it requires quite a bit…

Sorry I am not a user of either. I think this might be it for Spacemacs: https://www.spacemacs.org/doc/DOCUMENTATION.html#orgheadline... I did try Doom Emacs though. I felt it was usable right out of the box with nice defaults. But then again I haven't used it for a serious time length (I prefer Emacs keybinding, rare I know). I also empathise with tool fatigue. I haven't significantly touched my Emacs config in a wh…

Let's hug and cry. :D

Last time I blindly updated Spacemacs itself I lost an hour getting it back to a workable state, sigh. Learned my lesson since then. I do both: (a) completely back up my ~/.emacs.d to another directory and (b) write down the last-known GIT commit hash of Spacemacs. Paid off huge dividends half the time I did updates ever since.

I love Emacs but it seems certain things won't ever get resolved (like macOS slow rendering although that's like 70% attributed to huge fonts with a lot of emojis in them so I got that part sorted at least).

Again, thanks for the support -- much appreciated! I'll go through the links plus will try to resolve my Org Mode problem in particular -- eventually.

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

#135
post #111
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 did this exact thing when I got frustrated with Jekyll (and friends) and created Hugo. Of course, at the time all SSGs were in dynamic languages and very VERY slow. Happy to see some Hugo ideas made it into Zola.

Hey there, I’m a happy Jekyll user. What frustrated you about it?

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

#136
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 think we are doing pretty well with increasing the number of SSGs even without a meta SSGG. But I guess there are still more blogs around than SSGs, so there's still potential for incrementing that counter.

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

#137
post #100

Earlier quoted context omitted.

Pollen, written in Racket, is arguably a "dsl for specifying ssgs" https://docs.racket-lang.org/pollen/

Pollen seems so incredibly cool and powerful, but every time I have tried to play around with it, I get distracted by small quirks and areas that I wish were documented more clearly, or in a more organized format. My daydream is to make a _good_ technical documentation system with it that is usable by the everyman, but it's still just a bit too much of a stretch. Markdown + pandoc + LaTeX templates get close, but LaT…

Don't mess around with Markdown and LaTeX for documentation. AsciiDoc is what you want.

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

#138
I really like Zola and have been using it for my personal site for a few months now. I tried to use Hugo, which admittedly seems more capable, but found it to be too complicated for my use case. I was up and running with Zola, including my own CSS, site layout, and posts ported from a custom SSG within 2ish hours. I’ll continue to use it, it’s a very pleasant experience so far.

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

#139
post #111
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 did this exact thing when I got frustrated with Jekyll (and friends) and created Hugo. Of course, at the time all SSGs were in dynamic languages and very VERY slow. Happy to see some Hugo ideas made it into Zola.

Thanks for making Hugo. Hugo is the only SSG I found with a good story regarding i18n.

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

#140
post #135
post #111

Earlier quoted context omitted.

I did this exact thing when I got frustrated with Jekyll (and friends) and created Hugo. Of course, at the time all SSGs were in dynamic languages and very VERY slow. Happy to see some Hugo ideas made it into Zola.

Hey there, I’m a happy Jekyll user. What frustrated you about it?

Jekyll lost me at “step one, install ruby”
Post reply on HN