diff options
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r-- | layouts/partials/head.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html new file mode 100644 index 0000000..e79a047 --- /dev/null +++ b/layouts/partials/head.html @@ -0,0 +1,21 @@ +<meta charset="utf-8">
+<title>{{ if .Page.Title }}{{ .Page.Title }} - {{ end }}{{ .Site.Title }}</title>
+<meta name="description"
+ content="{{ with .Description }}{{ . }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}">
+{{ with .Site.Params.author }}
+<meta name="author" content="{{ . }}">{{ end }}
+
+<meta name="viewport" content="width=device-width, initial-scale=1">
+
+<link href="//fonts.googleapis.com/css?family=Raleway:400,300,600" rel="stylesheet" type="text/css">
+
+{{ $css := "css/normalize.css" | absURL }}
+<link rel="stylesheet" href="{{ $css }}">
+{{ $css := "css/skeleton.css" | absURL }}
+<link rel="stylesheet" href="{{ $css }}">
+{{ $css := "css/custom.css" | absURL }}
+<link rel="stylesheet" href="{{ $css }}">
+
+{{ if .Site.Params.favicon }}
+<link rel="shortcut icon" href="/{{ .Site.Params.favicon }}" type="image/png" />
+{{ end }}
\ No newline at end of file |