Show blog page title

You might have noticed that the blog page lists all posts but it doesn’t actually display the blog page title on the front end. Use the following PHP snippet to show it:

add_action( 'generate_before_main_content', 'generate_add_blog_title' );
function generate_add_blog_title()
{
	if ( ! is_home() )
		return;
	?>
	<header class="page-header">
		<h1 class="entry-title" itemprop="headline">My Blog Title</h1>
	</header>
	<?php
}

Just replace My Blog Title with a title of your choice.