anemone/layouts/partials/head.html

13 lines
736 B
HTML
Raw Normal View History

2022-11-21 21:15:50 +00:00
<head>
<meta charset="utf-8">
<meta name="robots" content="index, follow">
<meta name="viewport" content='width=device-width, initial-scale=1.0'>
<meta name="description" content='{{ if .IsHome }}{{ .Site.Params.description }}{{ else }}{{ .Description }}{{ end }}'>
<meta name="author" content='{{ .Site.Params.author | default "Speyll" }}'>
{{ range .AlternativeOutputFormats -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}
<title>{{ if not .IsHome }}{{ .Title }} | {{ end }}{{ .Site.Title }}</title>
<link rel="stylesheet" href='{{ "css/style.css" | absURL }}'>
<link rel="icon" href='{{ "favicon.ico" | absURL }}'>
</head>