<?php
/**
 * Header file for the Wind Energy WordPress theme.
 * @package Wind Energy
 * @since 1.0.0
 */
?><!DOCTYPE html>
<html class="no-js" <?php language_attributes(); ?>>
  <?php if( get_theme_mod('wind_energy_theme_loader',false) == 1 ) { ?>
    <div class="preloader">
      <div class="loader">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
    </div>
  <?php }?>
<head>
    <meta charset="<?php bloginfo('charset'); ?>">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <link rel="profile" href="https://gmpg.org/xfn/11">
    <?php wp_head(); ?>
</head>

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

<?php
if( function_exists('wp_body_open') ){
    wp_body_open();
}
$wind_energy_default = wind_energy_get_default_theme_options(); ?>

<div id="wind-energy-page" class="wind-energy-hfeed wind-energy-site">
<a class="skip-link screen-reader-text" href="#site-content"><?php esc_html_e('Skip to the content', 'wind-energy'); ?></a>

<?php
$wind_energy_header_top_ed = get_theme_mod( 'wind_energy_header_top_ed', $wind_energy_default['wind_energy_header_top_ed'] );
if( $wind_energy_header_top_ed ){
    get_template_part( 'template-parts/header/header', 'top' );
}
    get_template_part( 'template-parts/header/header', 'layout' );
?>

<div id="content" class="site-content">