Fix and simplify homepage example