summaryrefslogtreecommitdiff
path: root/layouts/partials/head.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r--layouts/partials/head.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
new file mode 100644
index 0000000..60b1dc2
--- /dev/null
+++ b/layouts/partials/head.html
@@ -0,0 +1,25 @@
1<meta charset="utf-8">
2<meta name="viewport" content="width=device-width">
3
4{{- if .IsHome -}}
5<meta name="description" content="{{ site.Params.Description }}" />
6{{- else -}}
7<meta name="description" content="{{ .Params.Description }}" />
8{{- end }}
9
10<meta property="og:type" content="website">
11
12<title>
13 {{ if .IsHome}}
14 {{ site.Title }}
15 {{ else }}
16 {{ printf "%s | %s" .Title site.Title }}
17 {{ end }}
18</title>
19
20{{ partialCached "head/css.html" . }}
21{{ partialCached "head/js.html" . }}
22
23{{ if hugo.IsProduction }}
24{{ template "_internal/google_analytics.html" . }}
25{{ end }} \ No newline at end of file