-
Notifications
You must be signed in to change notification settings - Fork 0
/
base.php
executable file
·47 lines (41 loc) · 1.17 KB
/
base.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
<!doctype html>
<html class="no-js" <?php language_attributes(); ?>>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><?php wp_title('|', true, 'right'); ?></title>
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<?php majestic_gtm() ?>
<?php majestic_browse_happy() ?>
<header class="banner">
<div class="container">
<?php get_template_part('templates/header'); ?>
</div>
</header>
<section class="masthead">
<div class="container">
<h1 class="page-title animated fadeInUp">
<?php if (is_front_page()) :
svg_sprite('logo');
else :
the_title();
endif; ?>
</h1>
<?php majestic_masthead($post); ?>
</div>
</section>
<main class="main" role="main">
<div class="container">
<?php include roots_template_path(); ?>
</div>
</main>
<footer class="site-info">
<div class="container">
<?php get_template_part('templates/footer'); ?>
</div>
</footer>
</body>
</html>