freedom/layouts/partials/banner.html

14 lines
460 B
HTML
Raw Normal View History

2023-01-04 16:59:09 -05:00
{{if .Params.banner}}
<section id="banner" style='background-image:url({{.Params.banner}})'>
{{if .Params.bannerTitle}}
<div id="banner-text">
{{if .Params.bannerTitle}}
<h1>{{.Params.bannerTitle}}</h1>
{{end}}
{{if .Params.bannerText}}
<p>{{.Params.bannerText}}</p>
{{end}}
</div>
{{end}}
</section>
{{end}}