I made some mass modifications to the website today. Converted all pages into templates, which are individually added to a single page class. So now I can insert comments before the footer if I want, or if later I decided I want to shift them above I can without shifting the PHP with them.
At some point I’ll probably add a page caching system to reduce actual PHP repetition for the same page.
Another feature I plan to implement will be to generate CSS on the fly in order to reduce my CSS. At the moment I’m using it everywhere when its not really needed. For example, loading the syntax.css file even when there is no syntax on the page. Hopefully with this page generation class, I’ll be able to segment parts of my CSS and load it as the PHP decides it will need it.