Added if-checks for title and teaser.