Update index.php

changed "index.twig" to $templates to actually load the home.twig template if needed