per page template bugfix

due to @michael-tourneur
(https://github.com/shoestrap/shoestrap/pull/403)
fixes #403