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

8 lines
No EOL
233 B
HTML

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