@ritikasantara You might have two controllers, one for posts, and one for the home, about, contact, etc., pages. Then you just set your
pages#index (if you decide to call the controller Pages) action to pull in the three latest posts with a link to the blog part of the site. Then in your
posts#index, you grab all of the posts, not just three.