about summary refs log tree commit diff stats
path: root/layouts/partials/head.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r--layouts/partials/head.html9
1 files changed, 5 insertions, 4 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 59304c2..c92ea95 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -4,15 +4,16 @@
 		<meta charset="UTF-8">
 		<meta name="viewport" content="width=device-width,initial-scale=1">
 
-		{{ if .IsHome }}
+		{{ if .IsHome -}}
 		<title>{{ .Site.Title }}</title>
-		{{ else }}
+		{{- else -}}
 		<title>{{ .Title }} &middot; {{ .Site.Title }}</title>
-		{{ end }}
+		{{- end }}
 
+		<link type="text/css" rel="stylesheet" href="{{ .Site.BaseURL }}css/print.css" media="print">
 		<link rel="stylesheet" href="/css/poole.css">
 		<link rel="stylesheet" href="/css/syntax.css">
 		<link rel="stylesheet" href="/css/hyde.css">
 		<link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}">
-		<link href="{{ if .IsPage }}{{ .Permalink | replaceRE "/$" "" }}{{ else }}{{ .Permalink }}{{ end }}" rel="canonical">
+		{{ partial "hook_head_end.html" . }}
 	</head>