-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheader.php
50 lines (40 loc) · 1.31 KB
/
header.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?php
/**
* Header file
*
* @package Carte Blanche
* @since 2015
*/
use Cuisine\View\Template;
use Cuisine\View\Nav;
?>
<!doctype html>
<html itemscope itemtype="http://schema.org/WebSite" class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title><?php Template::pageTitle();?></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="HandheldFriendly" content="true">
<meta charset="<?php bloginfo( 'charset' ); ?>"/>
<span itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="<?php echo get_bloginfo( 'name' );?>">
<meta itemprop="url" content="<?php echo get_bloginfo( 'url' );?>">
<meta itemprop="logo" content="<?php echo get_stylesheet_directory_uri();?>/images/logo.png">
</span>
<?= Template::favicon();?>
<?= Template::stylesheet( 'main.css' );?>
<?php wp_head();?>
</head>
<body <?php body_class(); ?>>
<header class="mainmenu" itemscope itemtype="http://schema.org/WPHeader">
<div class="container">
<?php Template::logo();?>
<?php Nav::display( 'main' );?>
<?php Nav::display( 'mobile' );?>
<?php Nav::mobileToggle();?>
</div>
</header>
<div id="main" role="main">
<div class="container">