adjust homepage conditional