new
This commit is contained in:
13
layouts/partials/head.html
Normal file
13
layouts/partials/head.html
Normal file
@@ -0,0 +1,13 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user