diff --git a/assets/scss/style.scss b/assets/scss/style.scss index d32e0ac..1fcff87 100644 --- a/assets/scss/style.scss +++ b/assets/scss/style.scss @@ -633,6 +633,11 @@ header { } } header.jumbotronContainer { + > *:first-child { + padding-top: 15px; + } + padding-bottom: 0; + padding-top: 0; .jumbotron { display: flex; } {{ if .Site.Data.jumbotron.background }} background: diff --git a/layouts/partials/jumbotron.html b/layouts/partials/jumbotron.html index 90ec21f..6bde82a 100644 --- a/layouts/partials/jumbotron.html +++ b/layouts/partials/jumbotron.html @@ -1,4 +1,4 @@ -{{ if (and (.Site.Params.enableJumbotron | default false) .Site.Data.jumbotron) }} +{{ if and .IsHome (and (.Site.Params.enableJumbotron | default false) .Site.Data.jumbotron) }}