]> scripts.mit.edu Git - autoinstalls/wordpress.git/blob - wp-content/themes/default/header.php
Wordpress 2.0.11
[autoinstalls/wordpress.git] / wp-content / themes / default / header.php
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
3
4 <head profile="http://gmpg.org/xfn/11">
5 <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
6
7 <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> &raquo; Blog Archive <?php } ?> <?php wp_title(); ?></title>
8
9 <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->
10
11 <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
12 <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
13 <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
14
15 <style type="text/css" media="screen">
16
17 <?php 
18 // Checks to see whether it needs a sidebar or not
19 if ( !$withcomments && !is_single() ) { 
20 ?>
21         #page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbg.jpg") repeat-y top; border: none; }
22 <?php } else { // No sidebar ?>
23         #page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbgwide.jpg") repeat-y top; border: none; } 
24 <?php } ?>
25
26 </style>
27
28 <?php wp_head(); ?>
29 </head>
30 <body>
31 <div id="page">
32
33
34 <div id="header">
35         <div id="headerimg">
36                 <h1><a href="<?php echo get_settings('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
37                 <div class="description"><?php bloginfo('description'); ?></div>
38         </div>
39 </div>
40 <hr />