Just paste this code on header.php

<title><?php if( is_home() || is_front_page() ) bloginfo('name'); else wp_title(); ?></title>