{{ get_header() }}
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" {{ language_attributes() }}>

<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="{{ bloginfo('html_type') }}; charset={{ bloginfo('charset') }}" />

<title>{{ wp_title('&laquo;', 'right') }} {{ bloginfo('name') }}</title>

<link rel="stylesheet" href="{{ bloginfo('stylesheet_url') }}" type="text/css" media="screen" />
<link rel="pingback" href="{{ bloginfo('pingback_url') }}" />

<style type="text/css" media="screen">

{# Checks to see whether it needs a sidebar or not #}
{% if not is_with_comments() and not is_single() %}
	#page { background: url("{{ bloginfo('stylesheet_directory') }}/images/kubrickbg-{{ bloginfo('text_direction') }}.jpg") repeat-y top; border: none; }
{% else %} {# No sidebar #}
        #page { background: url("{{ bloginfo('stylesheet_directory') }}/images/kubrickbgwide.jpg") repeat-y top; border: none; }
{% endif %}

</style>

{% if is_singular() %}
	{{ wp_enqueue_script( 'comment-reply' ) }}
{% endif %}

{{ wp_head() }}
</head>
<body {{ body_class() }}>
<div id="page">

<div id="header" role="banner">
        <div id="headerimg">
                <h1><a href="{{ get_option('home') }}/">{{ bloginfo('name') }}</a></h1>
                <div class="description">{{ bloginfo('description') }}</div>
        </div>
</div>
<hr />
