-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
executable file
·38 lines (31 loc) · 1.23 KB
/
header.php
File metadata and controls
executable file
·38 lines (31 loc) · 1.23 KB
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
<!DOCTYPE html>
<html lang="da">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, minimal-ui">
<link rel="shortcut icon" href="/favicon.ico" />
<link rel="stylesheet" href="//brick.a.ssl.fastly.net/Roboto+Slab:200,700/Andada:400,400i,700,700i">
<link rel="stylesheet" type="text/css" media="screen" href="<?php bloginfo('template_directory'); ?>/css/main.css" />
<title><?php wp_title( '|', true, 'right' ); ?></title>
<!-- This script makes the HTML5 tags readable for IE -->
<!--[if lt IE 9]> <script src="<?php bloginfo('template_directory'); ?>/js/html5shiv.js"></script> <![endif]-->
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<header class="main-head">
<?php if (!is_home()) { ?>
<div class="logo">
<h2><a href="<?php bloginfo('url'); ?>">DKvistgaard</a></h2>
</div>
<?php } ?>
<h1>
<?php
if (is_home()) {
bloginfo('name');
} else {
the_title();
}
?>
</h1>
</header>