partialed post snippet and pagination; added pages view for pagination