Fix homepage template not loading