blog/templates/partials/head.html

55 lines
2.8 KiB
HTML

<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ buildTitle title site.title }}</title>
<meta property="og:url" content="{{ site.url}}/{{ path }}"/>
<meta property="og:title" content="{{ title }}"/>
<meta property="og:description" content="{{ striptags (markdown summary) }}"/>
<meta property="og:site_name" content="{{ site.title }}"/>
<meta property="og:image" content="{{ site.url }}/images/marcus.jpg" />
<!-- Twitter Do Not Track -->
<meta name="twitter:dnt" content="on">
<link rel="apple-touch-icon" sizes="57x57" href="/images/favico/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="/images/favico/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="/images/favico/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="/images/favico/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="/images/favico/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="/images/favico/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="/images/favico/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="/images/favico/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="/images/favico/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="/images/favico/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="/images/favico/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="/images/favico/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="/images/favico/favicon-16x16.png">
<link rel="manifest" href="/manifest.json">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="/images/favico/ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff">
<link rel="stylesheet" href="/css/main.css?{{moment date 'YYYYMMDDHHMM'}}">
<link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ site.url }}/feed.xml">
<script>
if ('serviceWorker' in navigator) {
window.addEventListener('load', function() {
navigator.serviceWorker.register('/service-worker.js', { scope: '/' });
});
}
</script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-321884-1"></script>
<script>
if (window.location.host.indexOf('marcusnoble.co.uk') >= 0) {
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-321884-1');
}
</script>
</head>