layout of posts and elastic search integrated