added support for presenting content as page or blog