<?php
defined( 'ABSPATH' ) || exit;
?>

<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
	<meta charset="<?php bloginfo( 'charset' ); ?>">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<?php if ( ! current_theme_supports( 'title-tag' ) ) : ?>
		<title><?php echo wp_get_document_title(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?></title>
	<?php endif; ?>
	<?php wp_head(); ?>
</head>
<body <?php body_class( 'rtcl-page-template' ); ?>>
<?php
wp_body_open();

do_action( 'rtcl_page_template_before_content' );

while ( have_posts() ) :
	the_post();
	the_content();
endwhile;

do_action( 'rtcl_page_template_after_content' );

wp_footer();
?>
</body>
</html>