Fixed bug with `page` template in dev mode
Merge pull request #418 from andrewblond/issues/417@v2

Fixed bug with `page` template in dev mode