<?php
/**
 * The header for our theme
 *
 * Displays all of the <head> section and everything up till <div id="content">
 *
 * @package Digital
 */

// Exit if accessed directly.
defined( 'ABSPATH' ) || exit;

?>
<!DOCTYPE html>
<html <?php language_attributes(); ?> data-bs-theme="auto">
<head>
	<meta charset="<?php bloginfo( 'charset' ); ?>">
	<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
	<link rel="profile" href="http://gmpg.org/xfn/11">
	<?php if ( is_singular() && pings_open( get_queried_object() ) ) : ?>
		<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
	<?php endif; ?>
	<?php wp_head(); ?>
</head>

<body <?php body_class(); digital_body_attributes(); digital_do_schema( 'html' );?>>
<?php wp_body_open(); ?>
<?php
	$headerstyle = get_theme_mod('digital_header_style', 'stylesix'); ?>
<div class="site <?php echo esc_attr( $headerstyle ); ?>-header" id="page">	
<!-- ******************* The Navbar Area ******************* -->
<?php get_template_part( 'layouts/header/layout', $headerstyle ); ?>
<?php do_action('digital_after_header'); ?>