Forum›General Inquiry›(Efficient) Theme development
https://github.com/GetPublii/Publii/issues/654
Not familiar with theme development but found this at GitHub