[% USE HTML -%]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>[% page.title OR site.title OR name OR c.config.site.name %]</title>
		<!--<link rel="stylesheet" href="/static/style/basic.css" type="text/css" media="screen" />
		<link rel="stylesheet" href="/static/style/mango.css" type="text/css" media="screen" />-->
	</head>
	<body id="[% site.id OR c.config.site.id %]">
		<div id="container">
			<div id="header">
				<h1>[% site.title OR name %]</h1>
				[% IF page.subtitle %]<h2>[% page.subtitle %]</h2>[% END %]
				[% INCLUDE 'includes/login' %]
			</div>
			<div id="contents">
				<div id="content">
					<h2>[% page.title %]</h2>
					[% content %]
					[% INCLUDE 'includes/pager' %]
				</div>
			</div>
			<div id="footer">
				<p>
					Powered by Mango: a Catalyst-Handel ecommerce solution.
					Visit the <a href="http://handelframework.com/mango/">Mango website</a> for more information.
				</p>
			</div>
		</div>
	</body>
</html>
