diff options
author | Alan Pearce | 2018-06-17 19:40:34 +0200 |
---|---|---|
committer | Alan Pearce | 2018-06-17 19:40:34 +0200 |
commit | 7ffe02d5070b979f7a99727f9a919bc5a2956038 (patch) | |
tree | aa11f9c8ae96862c0bf4aa612d354688bbd639a8 /layouts/partials | |
parent | 5619a512a607df67ca5970494917e20471aab8c6 (diff) | |
download | website-7ffe02d5070b979f7a99727f9a919bc5a2956038.tar.lz website-7ffe02d5070b979f7a99727f9a919bc5a2956038.tar.zst website-7ffe02d5070b979f7a99727f9a919bc5a2956038.zip |
Update hyde
Diffstat (limited to 'layouts/partials')
-rw-r--r-- | layouts/partials/head.html | 19 | ||||
-rw-r--r-- | layouts/partials/hook_head_end.html | 1 |
2 files changed, 1 insertions, 19 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html deleted file mode 100644 index 2cf88f5..0000000 --- a/layouts/partials/head.html +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html> -<html lang="en-GB"> - <head> - <meta charset="UTF-8"> - <meta name="viewport" content="width=device-width,initial-scale=1"> - - {{ if .IsHome }} - <title>{{ .Site.Title }}</title> - {{ else }} - <title>{{ .Title }} · {{ .Site.Title }}</title> - {{ end }} - - <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"> - <link href="{{ .Site.Params.GPG.url | absURL }}" rel="pgpkey"> - </head> diff --git a/layouts/partials/hook_head_end.html b/layouts/partials/hook_head_end.html new file mode 100644 index 0000000..3442304 --- /dev/null +++ b/layouts/partials/hook_head_end.html @@ -0,0 +1 @@ +<link href="{{ if .IsPage }}{{ .Permalink | replaceRE "/$" "" }}{{ else }}{{ .Permalink }}{{ end }}" rel="canonical"> \ No newline at end of file |