Allow hidden pages as templates. Fixes #47