Fix index.php for home template