Files
OfficialSite/www/modules/boilerplate/assets/templates/boilerplate.inc.header.php
2015-04-21 10:16:47 -04:00

38 lines
1.5 KiB
PHP

<!doctype html>
<!--[if lte IE 9]> <html lang="{{lang}}" class="ie9"> <![endif]-->
<!--[if gt IE 9]><!--> <html lang="{{lang}}"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<base href="{{URL}}">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#f2f2f2">
<title>{{meta_title}}</title>
<link rel="apple-touch-icon" href="{{#assets.images}}apple-touch-icon.png{{/assets.images}}">
<link rel="icon" href="{{#assets.images}}favicon.png{{/assets.images}}">
<link rel="stylesheet" href="{{#assets.styles}}dist/main.css{{/assets.styles}}">
<meta name="description" content="{{meta_description}}">
{{opengraph_tags}}
{{! Only include analytics if it is set in the configuration}}
{{#cfg.google_analytics}}
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', '{{cfg.google_analytics}}', 'auto');
ga('send', 'pageview');
</script>
{{/cfg.google_analytics}}
{{!A final chance to have custom headers tags (like styles or scripts) in the controllers}}
{{extra_header_content}}
</head>
<body>