Bikeshedding My Templates After Noticing yesterday's Bug 0 ▲ ScatterSplatter - Blog 6 hours ago · Tech · hide · 0 comments This site for me is a hobby, so I like tweaking things from time to time. It started when I noticed some cruft in the metal section of the pages, and I decided to get rid of it. In the process I worked with an if... then... else because of old habits. Just after I did that, I remembered that Tera now has a ternary function, which is actually perfect for what I wanted to do in this situation. It’s a lot shorter and cleaner-looking. That should help me a lot with the misplaced endif that I definitely do habitually put in the templates. In the future when the templates are not fresh in my mind, it should help with figuring out what’s going on a lot. I have actually been wanting to look into that since I first migrated to the new version of Zola. It was in beta then, so I figured it was best to hold off and let things stabilize. There was always the chance of more breaking changes. This sort of reworking things is a lot of fun to me and very interesting. It gets my brain working on… No comments yet. Log in to reply on the Fediverse. Comments will appear here.