Revert "Templates applied to pages"

This reverts commit 7ea3389acc37af4be01a7b355172e466a657b2d5.