diff options
author | Alan Pearce | 2018-06-17 19:23:18 +0200 |
---|---|---|
committer | Alan Pearce | 2018-06-17 19:23:18 +0200 |
commit | 743253f995d352f51fc7b7681948b20c79609060 (patch) | |
tree | e7992e69cff8aabd1f8c3e571a74d6ecbb130477 /layouts/partials/head.html | |
parent | 61b24805867fc6d2aa67ede189d43faf86220ad4 (diff) | |
parent | 8cab2d27e2b7727e632d817dbdd41a97cc99af00 (diff) | |
download | hyde-743253f995d352f51fc7b7681948b20c79609060.tar.lz hyde-743253f995d352f51fc7b7681948b20c79609060.tar.zst hyde-743253f995d352f51fc7b7681948b20c79609060.zip |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r-- | layouts/partials/head.html | 9 |
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 }} · {{ .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> |