diff options
Diffstat (limited to 'layouts/partials/head.html')
-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> |