diff --git a/layouts/index.html b/layouts/index.html index 226f073..e82e7f3 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -2,7 +2,14 @@ {{- .Site.Title -}} - + {{ $siteDescription := .Site.Params.description }} + {{ if (index .Site.Data .Site.Language.Lang).site }} + {{ $siteConfig := (index .Site.Data .Site.Language.Lang).site }} + {{ if $siteConfig.description }} + {{ $siteDescription = $siteConfig.description }} + {{ end }} + {{ end }} + {{- partial "header.html" . -}}