diff --git a/themes/buha/assets/scss/header.scss b/themes/buha/assets/scss/header.scss
index 8182287..35ddf40 100644
--- a/themes/buha/assets/scss/header.scss
+++ b/themes/buha/assets/scss/header.scss
@@ -5,10 +5,10 @@ header {
div {
display: flex;
height: 5rem;
- align-items: center;
+ margin-top: .5em;
+ align-items: flex-start;
justify-content: space-between;
svg {
- margin-top: 1rem;
margin-left: 0.2vw;
width: auto;
height: 4em;
@@ -36,7 +36,6 @@ header {
width: 86%;
div {
svg {
- margin-top: 5rem;
width: auto;
height: 7em;
}
diff --git a/themes/buha/layouts/partials/snippets/banner.html b/themes/buha/layouts/partials/snippets/banner.html
index 70547ed..6fa60bc 100644
--- a/themes/buha/layouts/partials/snippets/banner.html
+++ b/themes/buha/layouts/partials/snippets/banner.html
@@ -27,7 +27,7 @@
{{ end }}
{{ if and (resources.GetMatch $banner) (ne .Params.banner false) }}
-
{{ $title }}
+ {{ if not .IsHome }}
{{ $title }}
{{ end }}
{{ if eq hugo.Environment "development" }}
{{ $w := (resources.GetMatch $banner).Width }}
@@ -56,7 +56,7 @@
{{ else if and (.Resources.Match "banner*") (ne .Params.banner false) }}
{{ $img = (.Resources.GetMatch "banner*").Fill $fill }}
-
{{ $title }}
+ {{ if not .IsHome }}
{{ $title }}
{{ end }}
{{ if eq hugo.Environment "development" }}
{{ $w := (index (.Resources.Match "banner*") 0).Width }}
@@ -85,7 +85,7 @@
{{ else if and (.Resources.ByType "image") (ne .Params.banner false) }}
{{ $img = (index (.Resources.ByType "image") 0).Fill $fill }}
-
{{ $title }}
+ {{ if not .IsHome }}
{{ $title }}
{{ end }}
{{ if eq hugo.Environment "development" }}
{{ $w := (index (.Resources.ByType "image") 0).Width }}
@@ -113,7 +113,7 @@
{{ else }}
-
{{ $title }}
+ {{ if not .IsHome }}
{{ $title }}
{{ end }}
{{ if eq hugo.Environment "development" }}
assets/images/banner/{{ $what -}}.* missing..