Seirdy’s Home
-
+{{ .Site.Params.Description }}
{{ partial "processed-content.html" . }}
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 0647d1c..9a135b9 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -36,9 +36,11 @@
{{- end }}
{{ .Title }}{{ if and (lt (len .Title) 54) (ne $canonicalRelPermalink "/") }} - Seirdy{{ end }}
- {{ $description := .Site.Params.Description -}}
+ {{ $description := "" -}}
{{- if .Params.description -}}
{{- $description = .Params.Description -}}
+ {{- else if .IsHome -}}
+ {{- $description = .Site.Params.Description -}}
{{- else if .Summary -}}
{{- $description = .Summary | replaceRE `\n` ` ` | replaceRE `\’` `’` | replaceRE `\ ` `\ ` | replaceRE `\“` `“` | replaceRE `\”` `”` | replaceRE `\…` `—` | replaceRE `\—` `—` | replaceRE `\` `\` | replaceRE `‘` `‘` | safeHTML -}}
{{- end -}}