Is it possible to have version 0.22 available on Homebrew?

Hello.

I upgraded the zola version today and my website stopped building. There are more breaking changes than I can work through right now and since brew upgraded it lost the older version, and I cannot figure out how to install it back.

I dont know if the brew bottle is “official” or not but 0.22 being available and pinnable would solve a big pain point.

Edit: Two things would make the changes more palatable:

  • This is actually the main annoyance: Restrict the Tera syntax that works in md files. Not every code block that has the literal {{ should be escaped. Even creating a new syntax of {%< that exclusively runs components or something would be preferable.
  • Show errors for all files when compilation fails. As it stands, it stops as soon as one file errors, so fixing stuff becomes very whack-a-mole.
1 Like

The binary is available on the Zola github page: Releases · getzola/zola · GitHub

No clue who handles it on homebrew.

This is actually the main annoyance: Restrict the Tera syntax that works in md files. Not every code block that has the literal {{ should be escaped. Even creating a new syntax of {%< that exclusively runs components or something would be preferable.

The whole point is that it’s the same syntax. Wrap things in raw/endraw if needed, or you can mark globs in the config to skip templating. It took me maybe 20 minutes to upgrade the Zola docs? zola/docs at master · getzola/zola · GitHub

Show errors for all files when compilation fails. As it stands, it stops as soon as one file errors, so fixing stuff becomes very whack-a-mole.

I thought about it but not that many people use {{ }} etc in their content in practice so I kept it simple

1 Like

What does {{ have to do with compilation errors being shown for all files?

The whole point is that it’s the same syntax. Wrap things in raw/endraw if needed, or you can mark globs in the config to skip templating.

I don’t like that it is the same syntax. I edit my markdown files as markdown files, not as templates. And I don’t want to litter them with SSG-specific stuff (besides the frontmatter, which is trivial enough to edit). The shortcodes were an ok compromise

you can mark globs in the config to skip templating

This is useful (and thanks for pointing it out). But that would not work for me, as the articles where I use shortcodes and the ones I have {{ in are all in the same directory. And skipping articles individually in the config is brittle and annoying. If anything this should be controlled by a frontmatter variable.


I apologize if my tone seems confrontational. But note that all I asked for in the beginning is to be able to stick to a previous version of zola in Homebrew, and that’s all I want.

I’ll let someone that knows about homebrew answer then if the binary in the releases page is not enough.