diff --git a/layouts/partials/page-header.html b/layouts/partials/page-header.html
index 347cd7d..08c4923 100644
--- a/layouts/partials/page-header.html
+++ b/layouts/partials/page-header.html
@@ -4,9 +4,9 @@
{{ partial "site-navigation.html" . }}
{{ .Title | default .Site.Title }}
- {{ if .Params.description }}
+ {{ with .Params.description }}
- {{ .Params.description }}
+ {{ . }}
{{ end }}
diff --git a/layouts/partials/site-header.html b/layouts/partials/site-header.html
index b8ebba1..65f1c8c 100755
--- a/layouts/partials/site-header.html
+++ b/layouts/partials/site-header.html
@@ -6,9 +6,9 @@
{{ .Title | default .Site.Title }}
- {{ if .Params.description }}
+ {{ with .Params.description }}
- {{ .Params.description }}
+ {{ . }}
{{ end }}
@@ -22,9 +22,9 @@
{{ .Title | default .Site.Title }}
- {{ if .Params.description }}
+ {{ with .Params.description }}
- {{ .Params.description }}
+ {{ . }}
{{ end }}