These are all the template functions for TMA. I want to be able to change these without recompiling the app, and I might want others to be able to re-write them, eventually. The app tma_generate_pages consumes these functions every hour.