diff options
author | Matthew Lemon <matt@matthewlemon.com> | 2022-07-17 09:14:24 +0100 |
---|---|---|
committer | Matthew Lemon <matt@matthewlemon.com> | 2022-07-17 09:14:24 +0100 |
commit | 9a14f9d41f57673684f87c98fbfa7c3c588f93cd (patch) | |
tree | 5e00c5738efc9e98b896155e56ea140ff945ab94 /layouts/partials/head.html | |
parent | bd856b0c078d14beb2d92cd7ef13c1f131b1bebc (diff) |
update for jul 22
Diffstat (limited to '')
-rw-r--r-- | layouts/partials/head.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html new file mode 100644 index 0000000..da8f4c4 --- /dev/null +++ b/layouts/partials/head.html @@ -0,0 +1,17 @@ +<head> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + {{ with .Site.Params.description -}} + <meta name="description" content="{{ . }}"> + {{ end }} + {{ printf `<link rel="shortcut icon" href="%s">` ("favicon.ico" | absURL) | safeHTML }} + {{ with .OutputFormats.Get "rss" -}} + {{ printf `<link rel="%s" type="%s" href="%s" title="%s">` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} + {{ end -}} + + {{ range .Site.Params.custom_css -}} + <link rel="stylesheet" href="{{ . | absURL }}" type="text/css" media="screen"> + {{- end}} + + <title>{{ .Title }}</title> +</head> |