<?php
/**
 * The header for the Eronex theme.
 *
 * Displays the <head> section, opening <body>, skip link, preloader,
 * and site header / banner hooks before the main content area.
 *
 * @package Eronex
 * @since 0.0.1
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}
?>
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
	<meta charset="<?php bloginfo( 'charset' ); ?>">
	<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="profile" href="http://gmpg.org/xfn/11">
	<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<?php
if ( function_exists( 'wp_body_open' ) ) {
	wp_body_open();
}

/**
 * Fires to output the skip-to-content link.
 *
 * @since 0.0.1
 */
do_action( 'eronex_skip_to_content' );

/**
 * Fires to output the site preloader markup.
 *
 * @since 0.0.1
 */
do_action( 'eronex_preloader' );
?>
<div id="eronex-primary" class="eronex-primary-wrapper">
<?php

/**
 * Fires at the top of the primary content wrapper.
 *
 * @since 0.0.1
 */
do_action( 'eronex_content_top' );

/**
 * Fires to output the site header markup.
 *
 * @since 0.0.1
 */
do_action( 'eronex_header' );

/**
 * Fires to output the page banner markup.
 *
 * @since 0.0.1
 */
do_action( 'eronex_banner' );
?>
<div id="eronex-content" class="eronex-content-wrapper" tabindex="-1">
