Fix homepage generation.