Files
blog_os/layouts/partials/head.html
2016-05-02 17:19:19 +02:00

40 lines
1.3 KiB
HTML

<head>
<meta charset="UTF-8">
<!-- Enable responsiveness on mobile devices-->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-Frame-Options" content="sameorigin">
{{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }}
{{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }}
<title>
{{ .Title }}{{ if not .IsHome }} &middot; {{ .Site.Title }}{{end}}
</title>
<link rel="canonical" href="{{ .Permalink }}">
<!-- CSS -->
<link rel="stylesheet" href="/css/poole.css">
<link rel="stylesheet" href="/css/main.css">
<link rel="stylesheet" href="/css/syntax.css">
<!-- Icons -->
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/images/apple-touch-icon-precomposed.png">
<link rel="shortcut icon" href="/images/favicon.ico">
{{ if .RSSlink }}
<link href="/atom.xml" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
<link href="/atom.xml" rel="feed" type="application/rss+xml" title="{{ .Site.Title }}" />
{{ end }}
{{ partial "analytics.html" . }}
<!-- redirect from phil-opp.github.io/blog_os -->
<script type="text/javascript">
if (window.location.hostname == "phil-opp.github.io") {
window.location.href = "http://os.phil-opp.com/";
}
</script>
</head>