Breaking updates
published:
One fun thing about having my blog effectively be compiled on my host as a part of a post-merge build task is I might not even notice when the host updates the version of Zola and then none of my updates go through because of breaking changes.
The two culprits:
- They've updated to version 2 of Tera, which is the template engine used for theming. Specifically, what hit me is that there is no longer an explicit string slice function, instead using a more modern array-index style. Quick fix.
- I was tripped up a bit more when my theme complained that there wasn't a taxonomies field on sections anymore. I spent a bit of time trying to find out why, and I'm not even sure it was even supposed to be there in the first place? In any case, after I stared at the affected template for a while, it occurred to me that there was no reason for this little snippet to be there to begin with, it was just dead code. Sure enough, it's not in the original theme (zolanight) equivalent of my template. It's something I must have been playing with while trying to hack in my various customizations that I've done. Probably failed experiment having something to do with gettting my stupid stack thing working, or something. In any case, it's fixed.