summaryrefslogtreecommitdiffstats
path: root/layouts/partials/head.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r--layouts/partials/head.html7
1 files changed, 1 insertions, 6 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index abb4cbe..478410a 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -1,10 +1,5 @@
{{/* */}}
<head>
- {{- $description := print .Params.Description -}}
- {{- if or .IsHome (eq .Params.Description "") (not .Params.Description) -}}
- {{ $description = site.Params.Description }}
- {{- end -}}
-
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1.0,shrink-to-fit=no">
@@ -13,7 +8,7 @@
<link type="text/plain" rel="author" href="{{ "humans.txt" | absURL }}">
<title>{{ block "title" . }}{{ if .IsHome }}{{ site.Title }}{{ else }}{{ with .Params.Title }}{{ . }} - {{ end }}{{ site.Title }}{{ end }}{{ end }}</title>
- <meta name="description" content="{{ $description }}">
+ <meta name="description" content="{{ (partial "description.html" . ) }}">
<meta name="author" content="{{ (partial "author.html" . ) }}">
{{ hugo.Generator }}