Avoid error if no content.

The homepage should still be generated.
This is useful especially in the beginning, where you start *just* with
the homepage.