* Add support for switching page templates
* Revert "Add support for switching page templates"
This reverts commit dbf7682d47a88d87a1c27aa066f5cae91c5ace26.
* Adopt Jeremy's approach to page template switching instead
* Fix default value of recursion marker
* Fixed issue with conditional check