<?php echo $this->doctype() . "\n"; ?>
<html lang="en">
<head>
<meta charset="utf-8">
<?php
$themeUrl = $this->basePath() . '/assets';

echo $this->headTitle($this->settings('title'))->setSeparator(' | ')->setAutoEscape(false) . "\n";
echo $this->headMeta()->appendName('viewport', 'width=device-width, initial-scale=1.0') . "\n";

$this->headLink()->appendStylesheet('https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic');
$this->headLink()->appendStylesheet($themeUrl . '/css/theme.min.css');

$this->headLink(array('rel' => 'shortcut icon', 'type' => 'image/png', 'href' => $this->basePath() . '/assets/img/favicon.png'), 'PREPEND');
$this->headLink(array('rel' => 'shortcut icon', 'type' => 'image/x-icon', 'href' => $this->basePath() . '/assets/img/favicon.ico'), 'PREPEND');
$this->headLink(array('rel' => 'icon', 'type' => 'image/x-icon', 'href' => $this->basePath() . '/assets/img/favicon.ico'), 'PREPEND');

echo $this->headLink();

if (isset($this->placeholder('base')->path)) {
    echo '<base href="' . $this->placeholder('base')->path . '/">';
} else {
    echo '<base href="' . $this->basePath() . '/">';
}
?>
</head>
<body class="module-<?php echo $this->module(); ?> controller-<?php echo $this->controller(); ?> action-<?php echo $this->action(); ?>" ng-app="FanSportsApp" ng-cloak>
<div growl></div>
<div id="wrap">
