replace deprecated page_types dir with app dir

there are precompilation issues when assets are mixed with views.