Create function show homepage cat page detail page