<?php
/**
 * Partial template for displaying the primary menu.
 *
 * @package Blogbuster
 */

// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
    exit;
}

?>

<nav id="site-navigation" class="main-navigation" <?php blogbuster_schema_markup( 'site_navigation' ); ?>>
    <button class="mt-menu-toggle" aria-controls="primary-menu" aria-expanded="false"> <i class="fas fa-bars"> </i> </button>
    <div class="primary-menu-wrap">
        <?php
            wp_nav_menu(
                array(
                    'theme_location' => 'primary_menu',
                    'menu_id'        => 'primary-menu',
                )
            );
        ?>
    </div><!-- .primary-menu-wrap -->
</nav><!-- #site-navigation -->