<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
    <meta charset="<?php bloginfo( 'charset' ); ?>" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <title><?php wp_title( '|', true, 'right' )?></title>
    <link rel="profile" href="http://gmpg.org/xfn/11" />
    <link rel="stylesheet" type="text/css" media="all" href="<?php echo get_template_directory_uri(''); ?>/inc/assets/font-awesome/css/font-awesome.min.css" />
    <link rel="stylesheet" type="text/css" media="all" href="<?php echo get_template_directory_uri(''); ?>/inc/assets/css/template.css?ver=1.0.4" />
    <link rel="stylesheet" type="text/css" media="all" href="<?php echo get_template_directory_uri(''); ?>/inc/assets/css/template-responsive.css" />
    <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
    <?php wp_head(); ?>
    <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
</head>

<body <?php body_class(); ?> data-spy="scroll" data-offset="61" data-target=".nav-collapse">
    <nav id="nav" class="navbar navbar-fixed-top <?php echo get_option('_dw_page_navbar_class'); ?>">
        <div class="navbar-inner">
            <div class="container">
                <?php if ( is_front_page() ): ?>
                    <button data-target=".nav-collapse" data-toggle="collapse" class="btn btn-navbar" type="button">
                      <span class="icon-bar"></span>
                      <span class="icon-bar"></span>
                      <span class="icon-bar"></span>
                    </button>    
                <?php endif ?>
                
                <?php do_action('dw_page_logo'); ?>
                <?php dw_page_generate_menu(); ?>
            </div>
        </div>
    </nav>