<?php
/**
 * The header for our theme
 *
 * This is the template that displays all of the <head> section and everything up until <div id="content">
 *
 * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
 *
 * @package Blogbuster
 */

?>
<!doctype html>
<html <?php language_attributes(); ?>>
<head>
	<meta charset="<?php bloginfo( 'charset' ); ?>">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="profile" href="https://gmpg.org/xfn/11">

	<?php wp_head(); ?>
</head>


<body <?php body_class(); ?>>
<?php
	wp_body_open();

	/**
	 * hook - blogbuster_before_page
	 * 
	 * @hooked - blogbuster_preloader_items - 5
	 *
	 * @since 1.0.0
	 */
	do_action( 'blogbuster_before_page' );
?>
<div id="page" class="site">
	<a class="skip-link screen-reader-text" href="#primary"><?php esc_html_e( 'Skip to content', 'blogbuster' ); ?></a>

	<?php
		/**
		 * hook - blogbuster_header_section
		 *
		 * @hooked - blogbuster_custom_header_html - 10
		 * @hooked - blogbuster_main_header - 20
		 *
		 * @since 1.0.0
		 */
		do_action( 'blogbuster_header_section' );
	?>

	<div id="content" class="site-content" <?php blogbuster_schema_markup( 'creative_work' ); ?>>
	<div class="mt-container">

		<?php

			if ( is_home() && is_front_page() ) {

				/**
				 * hook - blogbuster_frontpage_section
				 *
				 * @hooked - blogbuster_frontpage_featured - 10
				 *
				 * @since 1.0.0
				 */
				do_action( 'blogbuster_frontpage_section' );
			}
