In the code snippet you posted, it appears that your site’s title will be wrapped in an <h1>
tag on the home page (that’s what the if ( is_front_page() && is_home() )
code is checking for), and in a <p>
tag in all other cases (eg, a single blog post’s view).