added posts layout for search and for post to inherit from