modified banner

This commit is contained in:
somrat 2020-05-16 11:36:03 +06:00
parent aeff2d38e3
commit fe1c29e732

View file

@ -5,7 +5,7 @@
<body>
{{ if .IsHome }}
{{ "<!-- header -->" | safeHTML }}
<header class="banner overlay bg-cover" data-background="{{ .Site.Params.banner.bg_image | absURL }}">
<header class="banner {{if .Site.Params.banner.bg_image}}overlay bg-cover{{else}}bg-primary{{end}}" data-background="{{ .Site.Params.banner.bg_image | absURL }}">
{{ partial "navigation.html" . }}
{{ partial "banner.html" . }}
</header>