moving head.php to global templates and removing .php from footer