-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.php
39 lines (38 loc) · 1.24 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
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<meta name="viewport" content="width=device-width" />
<?php
if (is_search() || is_archive() || is_paged()) {
echo '<meta name="robots" content="noindex,follow" />'."\n";
}?>
<title><?php
global $page, $paged;
wp_title( '|', true, 'right' );
// Add the blog name.
bloginfo( 'name' );
$site_description = get_bloginfo( 'description', 'display' );
if ( $site_description && ( is_home() || is_front_page() ) ) {
echo " $site_description";
}
if ( $paged >= 2 || $page >= 2 ) {
echo ' | ';
echo sprintf("%s", max($paged, $page));
}
?></title>
<?php
wp_head();
?>
</head>
<body <?php body_class(); ?>>
<div id="lunar-icon"></div>
<div id="page">
<?php do_action( 'before' ); ?>
<header id="master-head" class="site-header" role="banner">
<h1 class="site-title"><a href="<?php echo home_url('/'); ?>" title="<?php echo esc_attr(get_bloginfo('name', 'display')); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
<blockquote style="font-style: normal;"><?php
include(dirname(__FILE__).'/kotoba.php/kotoba.php');
?></blockquote>
</header>
<div id="main">