summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/partials/head.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 9350ee6..cdd766a 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -1,6 +1,12 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
+{{- if .IsHome -}}
+<meta name="description" content="{{ site.Params.Description }}" />
+{{- else -}}
+<meta name="description" content="{{ .Params.Description }}" />
+{{- end }}
+
<title>
{{ if .IsHome }}
{{ site.Title }}