/* Start the Loop */
while ( have_posts() ) :
the_post();
get_template_part( 'templates/page/'.get_post_type() );
if ( is_attachment() ) {
// Parent post navigation.
the_post_navigation(
array(
/* translators: %s: Parent post link. */
'prev_text' => sprintf( __( 'Published in%s', 'twentytwentyone' ), '%title' ),
)
);
}
// If comments are open or there is at least one comment, load up the comment template.
if ( comments_open() || get_comments_number() ) {
// comments_template();
}
endwhile; // End of the loop.?>