Dynamic generation of the front page to show the most recent 3 articles