Fixed a bug with the frontpage when there are no news in the database
Merge PR #145.