about summary refs log tree commit diff stats
path: root/layouts/partials/head.html
blob: d7b936c92d13ca6221856097929d9120df78ee68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!DOCTYPE html>
<html lang="en-GB">
  <head>
    <link href="//gmpg.org/xfn/11" rel="profile">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">

    {{- if .IsHome }}
    <title>{{ .Site.Title }}</title>
    {{ else }}
    <title>{{ .Title }} &middot; {{ .Site.Title }}</title>
    {{ end -}}

    <link rel="stylesheet" href="/css/print.css" media="print">
    <link rel="stylesheet" href="/css/poole.css">
    {{- if .IsPage }}
    <link rel="stylesheet" href="/css/syntax.css">
    {{ else }}
    <link rel="prefetch" href="/css/syntax.css">
    {{- end }}
    <link rel="stylesheet" href="/css/hyde.css">
    {{ range .AlternativeOutputFormats -}}
      {{ printf `<link href="%s" rel="%s" type="%s" title="%s" />` .Permalink .Rel .MediaType.Type $.Site.Title | safeHTML }}
    {{ end -}}
    {{ partial "hook_head_end.html" . }}
  </head>