added base layout, method for multiple posts retrieval