Move calendar link content into a controller and change the way titles are fetched