<?php
the_title( '<h1 class="entry-title default-max-width">', '</h1>'
); ?>
<?php
else : ?>
<?php
the_title( sprintf( '<h2 class="entry-title default-max-width"><a href="%s">',
esc_url( get_permalink() ) ), '</a></h2>'
); ?>
<?php
endif; ?>
<?php
twenty_twenty_one_post_thumbnail(); ?>
</header><!-- .entry-header -->
<div class="entry-content">
<?php
the_content( twenty_twenty_one_continue_reading_text() );
wp_link_pages( array
( 'before' => '<nav class="page-links" aria-label="' .
esc_attr__( 'Page', 'twentytwentyone'
) . '">',
'after' => '</nav>',
/* translators: %: Page number. */
'pagelink' =>
esc_html__( 'Page %', 'twentytwentyone'
),
) );