Code Suggestions & Critique

I really liked the Adidoks theme, but it was a little out of date with the latest Zola build. The maintainer was a little busy and no one stepped up at the time. But they haven’t been around for a year, and barely committed anything in nearly 2 years.

I’ve made a fork, pulled in all the PRs and updated it to work with multilingual sites. But I’m not really very experienced with the template system. If anyone wants to look over the code and offer suggestions or pull requests, I’d enjoy any insights or suggestions.

I was able to simplify some code in templates/docs/ and templates/macros/ with either some newer features, or just ones that are undocumented. It got me thinking that there maybe many such simplifications that could be made. Or things that shouldn’t be macros. Or better practices.

I thought I’d post it If anyone likes to critique templates.

1 Like