Fixed a bug with the frontpage when there are no news in the database

I had a "No data received" error from '/' and '/news' pages, although the rest of the application worked properly. The bug happens when there are no news items, since the rendering is done inside of the _.each() callback.