freedom/layouts/partials/banner.html
2023-11-26 01:53:04 -05:00

14 lines
No EOL
477 B
HTML

{{if .Params.banner}}
<section id="banner" style='background-image:url({{.Site.BaseURL}}{{.Params.banner}})'>
{{if .Params.bannerTitle}}
<div id="banner-text">
{{if .Params.bannerTitle}}
<h1>{{.Params.bannerTitle}}</h1>
{{end}}
{{if .Params.bannerText}}
<i>{{.Params.bannerText}}</i>
{{end}}
</div>
{{end}}
</section>
{{end}}