Respect app mounts and improve view compilation

Thanks for building a cool blogging platform :+1: